You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.0 KiB
44 lines
1.0 KiB
{ |
|
"root": true, |
|
"extends": [ |
|
"airbnb-base", |
|
"plugin:flowtype/recommended" |
|
], |
|
"ignorePatterns": [ |
|
"lib/", |
|
"reports/", |
|
"examples/", |
|
], |
|
"parser": "@babel/eslint-parser", |
|
"plugins": [ |
|
"flowtype", |
|
], |
|
"rules": { |
|
"max-len": "off", |
|
"no-template-curly-in-string": "off", |
|
}, |
|
"overrides": [ |
|
{ |
|
"files": ["src/rules/*"], |
|
"extends": ["plugin:eslint-plugin/rules-recommended"], |
|
"rules": { |
|
"eslint-plugin/require-meta-docs-description": ["error", { "pattern": "^(Enforce|Require|Disallow)" }], |
|
"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"], |
|
}, |
|
{ |
|
"files": ["__tests__/**/*"], |
|
"env": { |
|
"jest": true, |
|
}, |
|
}, |
|
], |
|
}
|
|
|