Eslint Storybook Configuration
- Install the correct version of package, which are listed by the command:
npm install "@sanv/eslint-config-stories" --save-dev
- Add next line to your
.eslintrc.js
:
module.exports = {
plugins: ['prettier', 'react', 'jsx-a11y'],
extends: [
'@sanv/eslint-config-stories',
'plugin:prettier/recommended',
'prettier/react',
],
}