@massimo-cassandro/eslint-config
v2.0.4
Published
my eslint config
Downloads
9
Readme
Eslint config
My eslint config,
Previous versions at https://github.com/massimo-cassandro/linters-config.
Use
Install eslint
and all the needed packages:
npm i -D eslint @eslint/js globals @massimo-cassandro/eslint-config
Create a eslint.config.js
file (or use any other name and syntax you like, following the instructions at https://eslint.org/docs/latest/use/configure/configuration-files) and add:
import eslint_config from '@massimo-cassandro/eslint-config';
export default [
...eslint_config,
{
files: ['src/**/*.js'],
ignores: [
'dist/',
'**/vendor/'
],
}
];