-
Notifications
You must be signed in to change notification settings - Fork 4
/
.eslintrc
47 lines (47 loc) · 1.62 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
39
40
41
42
43
44
45
46
47
{
"env": {
"browser": true,
"es6": true,
"commonjs": true,
"node": true
},
"extends": ["airbnb", "prettier", "prettier/react"],
"plugins": ["prettier", "react", "jsx-a11y"],
"rules": {
"prettier/prettier": ["error"],
"comma-spacing": ["error", { "before": false, "after": true }],
"func-names": "off",
"prefer-arrow-callback":"off",
"no-use-before-define": "off",
"max-len": [2, 80, 4, {"ignoreUrls": true, "ignoreComments": true, "ignorePattern": "^import\\s.+\\sfrom\\s.+;$", "ignoreStrings": true, "ignoreTemplateLiterals" : true}],
"quotes": [2, "double"],
"import/no-named-as-default": 0,
"import/no-named-as-default-member": 0,
"import/prefer-default-export": 0,
"import/no-extraneous-dependencies": 0,
"consistent-return": "off",
"no-nested-ternary":"off",
"no-param-reassign":"off" ,
"no-shadow":"off",
"no-restricted-syntax":"off",
"no-prototype-builtins": "off",
"no-underscore-dangle":"off",
"no-console": "off",
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/require-default-props": 0,
"react/forbid-prop-types": 0,
"react/prefer-stateless-function": 0,
"react/jsx-one-expression-per-line": 0,
"react/destructuring-assignment" : 0,
"jsx-a11y/label-has-for": "off",
"jsx-a11y/label-has-associated-control": "off",
"prefer-template":"off",
"jsx-a11y/alt-text": "off",
"react/no-unescaped-entities": "off",
"jsx-a11y/anchor-is-valid": "off",
"react/button-has-type": "off",
"react/prop-types": "off",
"linebreak-style": "off"
},
"parser": "babel-eslint"
}