This is my ESLint configuration. It contains all of our lintint rules, and helps us keep our codebases aligned and in-sync with the highest standards.
npm i @egor.xyz/eslint-config
Add to package.json
in the root of your project:
{
...
"eslintConfig": {
"extends": [
...,
"@egor.xyz"
]
},
...
}
Add .eslintrc.js
to the root of your project:
module.exports = {
extends: '@egor.xyz'
};