This module is distributed via npm which is bundled with node and
should be installed as one of your project's devDependencies
:
npm install --save-dev @awesome-tools/eslint-config
Then add the extends to your .eslintrc.js
:
module.exports = {
extends: '@awesome-tools/eslint-config',
rules: {
// your overrides
},
}
You can import prettier config as well
const base = require('eslint-config-storybook/prettier.config')
module.exports = {
...base,
arrowParens: 'avoid',
overrides: [
// your overrides
]
}
- All plugins needed for rules used by these configs are dependencies of this module so you don't have to install anything on your own.
- The default config actually is composed of several configurations, and you can use those individually. You can use each of these configs yourself if you want to leave my own personal style out of it.
Looking to contribute? Look for the Good First Issue label. 😀
Please file an issue for bugs, missing documentation, or unexpected behavior.
Please file an issue to suggest new features. Vote on feature requests by adding a 👍. This helps maintainers prioritize what to work on.
ISC