32 lines
735 B
Plaintext
32 lines
735 B
Plaintext
{
|
|
extends: [
|
|
"airbnb-base",
|
|
"plugin:flowtype/recommended"
|
|
],
|
|
parser: "@babel/eslint-parser",
|
|
plugins: [
|
|
"flowtype"
|
|
],
|
|
rules: {
|
|
'max-len': 'off',
|
|
'no-template-curly-in-string': 'off',
|
|
},
|
|
"overrides": [
|
|
{
|
|
"files": ["src/rules/*.js"],
|
|
"extends": ["plugin:eslint-plugin/rules-recommended"],
|
|
"rules": {
|
|
"eslint-plugin/require-meta-docs-url": [
|
|
"error",
|
|
{ "pattern": "https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/{{name}}.md" }
|
|
],
|
|
"eslint-plugin/require-meta-type": "off"
|
|
}
|
|
},
|
|
{
|
|
"files": ["__tests__/src/rules/*.js"],
|
|
"extends": ["plugin:eslint-plugin/tests-recommended"]
|
|
}
|
|
]
|
|
}
|