Koffeine's ESLint shareable config
Use option --save-exact
for npm install to make sure that ESLint and config rules match.
Install config
npm install eslint-config-koffeine --save-dev --save-exact
Install ESLint
Install the correct version of ESLint, which is listed by the command:
npm info eslint-config-koffeine peerDependencies
For example:
npm install eslint@7.5.0 --save-dev --save-exact
Add the following to your .eslintrc.js file:
module.exports = {
extends: 'koffeine',
...
};
Copyright © Kornél Horváth
Licensed under the MIT License.