You can install this ESLint configuration using npm:
npm install @patricktabar/eslint-config-base --save-dev
To use a shareable config, import the package inside of an eslint.config.js file and add it into the exported array, like this:
// eslint.config.js
import configBase from '@patricktabar/eslint-config-base';
export default [...configBase];
You can override settings from the shareable config by adding them directly into your eslint.config.js file after importing the shareable config. For example:
// eslint.config.js
import configBase from '@patricktabar/eslint-config-base';
export default [
...configBase,
rules: {
semi: [2, "always"]
}
];