lint: fix line man-len

This commit is contained in:
George Lima 2018-11-28 18:58:39 -03:00
parent e50203c1ef
commit 242a270181
1 changed files with 23 additions and 34 deletions

View File

@ -1,9 +1,6 @@
{ {
"parser": "babel-eslint", "parser": "babel-eslint",
"extends": [ "extends": ["airbnb", "plugin:flowtype/recommended"],
"airbnb",
"plugin:flowtype/recommended"
],
"env": { "env": {
"browser": true, "browser": true,
"node": true, "node": true,
@ -17,39 +14,31 @@
}, },
"rules": { "rules": {
"jsx-quotes": ["error", "prefer-single"], "jsx-quotes": ["error", "prefer-single"],
"import/prefer-default-export": [ "import/prefer-default-export": ["off"],
"off" "react/jsx-filename-extension": [1, { "extensions": [".js"] }],
],
"react/jsx-filename-extension": [
1,
{ "extensions": [".js"] }
],
"jsx-a11y/anchor-is-valid": [ "jsx-a11y/anchor-is-valid": [
"error", "error",
{ {
"components": [ "components": ["Link"],
"Link" "specialLink": ["to", "hrefLeft", "hrefRight"],
], "aspects": ["noHref", "invalidHref", "preferButton"]
"specialLink": [
"to",
"hrefLeft",
"hrefRight"
],
"aspects": [
"noHref",
"invalidHref",
"preferButton"
]
} }
], ],
"jsx-a11y/no-autofocus": [ 0, { "jsx-a11y/no-autofocus": [
"ignoreNonDOM": true 0,
}], {
"max-len": ["error", { "ignoreNonDOM": true
"ignoreUrls": true, }
"ignoreComments": true, ],
"ignoreStrings": true, "max-len": [
"ignorePattern": "<p[^>]*>.*?</p>" "error",
}] {
"code": 120,
"ignoreUrls": true,
"ignoreComments": true,
"ignoreStrings": true,
"ignorePattern": "<p[^>]*>.*?</p>"
}
]
} }
} }