|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 2 weeks ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
1.0 KB
|
| Line | |
|---|
| 1 | {
|
|---|
| 2 | "root": true,
|
|---|
| 3 | "extends": [
|
|---|
| 4 | "airbnb-base",
|
|---|
| 5 | "plugin:flowtype/recommended"
|
|---|
| 6 | ],
|
|---|
| 7 | "ignorePatterns": [
|
|---|
| 8 | "lib/",
|
|---|
| 9 | "reports/",
|
|---|
| 10 | "examples/",
|
|---|
| 11 | ],
|
|---|
| 12 | "parser": "@babel/eslint-parser",
|
|---|
| 13 | "plugins": [
|
|---|
| 14 | "flowtype",
|
|---|
| 15 | ],
|
|---|
| 16 | "rules": {
|
|---|
| 17 | "max-len": "off",
|
|---|
| 18 | "no-template-curly-in-string": "off",
|
|---|
| 19 | },
|
|---|
| 20 | "overrides": [
|
|---|
| 21 | {
|
|---|
| 22 | "files": ["src/rules/*"],
|
|---|
| 23 | "extends": ["plugin:eslint-plugin/rules-recommended"],
|
|---|
| 24 | "rules": {
|
|---|
| 25 | "eslint-plugin/require-meta-docs-description": ["error", { "pattern": "^(Enforce|Require|Disallow)" }],
|
|---|
| 26 | "eslint-plugin/require-meta-docs-url": [
|
|---|
| 27 | "error",
|
|---|
| 28 | { "pattern": "https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/{{name}}.md" },
|
|---|
| 29 | ],
|
|---|
| 30 | "eslint-plugin/require-meta-type": "off",
|
|---|
| 31 | },
|
|---|
| 32 | },
|
|---|
| 33 | {
|
|---|
| 34 | "files": ["__tests__/src/rules/*.js"],
|
|---|
| 35 | "extends": ["plugin:eslint-plugin/tests-recommended"],
|
|---|
| 36 | },
|
|---|
| 37 | {
|
|---|
| 38 | "files": ["__tests__/**/*"],
|
|---|
| 39 | "env": {
|
|---|
| 40 | "jest": true,
|
|---|
| 41 | },
|
|---|
| 42 | },
|
|---|
| 43 | ],
|
|---|
| 44 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.