eslint-config-widen-emotion
v2.0.0
Published
Widen's shared ESLint config for Emotion.
Downloads
180
Readme
eslint-config-widen-emotion
Widen's shared ESLint config for Emotion.
Installation
yarn add -D eslint eslint-plugin-emotionUsage
In your eslint.config.mjs file, add the following four entries to your extends
list. If you don't need a specific configuration, simply remove it from the
list.
import emotion from 'eslint-config-widen-emotion'
export default [
...emotion,
...[
// you can specify what to ignore by using the `ignores` key before any other rule
// this will filter out things we don't want this to run on
{ ignores: ['*.test.*'] },
// you can also override rules by specifying the rule and the new value
{ files: ['*.spec.js'], rules: { 'no-unused-vars': 'off' } },
],
]