@343dev/eslint-config
v2.0.0
Published
ESLint rules that follow my style guide
Downloads
144
Readme
@343dev/eslint-config
ESLint rules that follow my style guide.
Installation
npm install --save-dev eslint globals @343dev/eslint-config
Usage
Include into a project config using flag --config, and pass paths for files as arguments:
eslint -c ./node_modules/@343dev/eslint-config/eslint.config.js ./src
Also you can create your own eslint.config.js
and extend this config there:
import config from '@343dev/eslint-config';
import globals from 'globals';
export default [
...config,
{
languageOptions: {
globals: globals.jest,
},
},
];
Read more about eslint.config.js
in ESLint docs.