0.0.1 • Published 2 years ago
eslint-config-gorrion v0.0.1
eslint-config-gorrion
ESLint config used at Gorrion Software House
Installation
Install the package using npm
(or yarn
or pnpm
)
npm install --save-dev eslint-config-gorrion
This library has a required peerDependencies
listing for eslint
Usage
Then add the extends to your .eslintrc.js
:
module.exports = {
extends: 'gorrion',
rules: {
// your overrides
},
}
Other configs
This config also exposes a few other configs that I use often and pull in as needed.
You can use them standalone:
module.exports = {
extends: 'gorrion/<config-name>',
}
Or in combination with the base config (recommended)
module.exports = {
extends: ['gorrion', 'gorrion/<config-name>'],
}
Available configs:
react
jsx-a11y
security
0.0.1
2 years ago