forked from Ami-Solution/amishop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
38 lines (38 loc) · 1.18 KB
/
.eslintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
"extends": ["airbnb","plugin:prettier/recommended"],
"env": {
"browser": true
},
"parser": "babel-eslint",
"rules": {
"object-curly-newline": 0,
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/forbid-prop-types": 0,
"jsx-a11y/media-has-caption": 0,
"no-console": 0,
"no-underscore-dangle": 0,
"no-global-assign": 0,
"import/prefer-default-export": 0,
"import/no-named-as-default": 0,
"jsx-a11y/no-static-element-interactions": 0,
"jsx-a11y/click-events-have-key-events": 0,
"max-lines": ["error", {
"max": 200,
"skipBlankLines": true,
"skipComments": true
}],
"max-len": ["error", 100, {ignoreComments: true}],
"curly": 0,
"consistent-return": 0,
"arrow-parens": 0,
"react/no-array-index-key": 0,
"no-return-assign": 0,
"comma-dangle": 0,
"jsx-a11y/anchor-is-valid": [ "error", {
"components": [ "Link" ],
"specialLink": [ "to", "hrefLeft", "hrefRight" ],
"aspects": [ "noHref", "invalidHref", "preferButton" ]
}],
"no-consecutive-blank-lines": true
}
}