mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-20 05:02:37 +08:00
28 lines
842 B
Plaintext
28 lines
842 B
Plaintext
{
|
|
"extends": "airbnb",
|
|
"rules": {
|
|
# We use _ to define private variables and methods in clases
|
|
"no-underscore-dangle": 0,
|
|
# This seems to be buggy we don't want eslint to check this
|
|
"import/no-extraneous-dependencies": 0,
|
|
# This is a depricated rule. So we turned off it.
|
|
"react/require-extension": 0,
|
|
# We can write JSX in anyfile we want.
|
|
"react/jsx-filename-extension": 0,
|
|
# We don't like this rule.
|
|
"arrow-body-style": 0,
|
|
# We don't like this rule. We write arrow functions only when we needed.
|
|
"prefer-arrow-callback": 0,
|
|
# We don't need to write function names always.
|
|
"func-names": 0,
|
|
# propTypes can be object
|
|
"react/forbid-prop-types": 0,
|
|
},
|
|
"parserOptions": {
|
|
"ecmaVersion": 6,
|
|
"ecmaFeatures": {
|
|
"experimentalObjectRestSpread": true
|
|
}
|
|
},
|
|
}
|