@patricktabar/eslint-config-base
v1.2.0
Published
Personal, shareable base ESlint configurations
Downloads
3
Maintainers
Readme
ESlint Base Configuration
Installation
You can install this ESLint configuration using npm:
npm install @patricktabar/eslint-config-base --save-dev
Using this Shareable Configuration
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];
Overriding Settings from this Shareable Configuration
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"]
}
];