-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
34 lines (34 loc) · 1.06 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
{
"extends": "airbnb",
"parser": "@babel/eslint-parser",
"env": {
"browser": true
},
"rules": {
"no-console": "off",
"no-confusing-arrow": "off",
"no-negated-condition": "warn",
"react/require-default-props": "off",
"react/react-in-jsx-scope": "off",
"semi": ["error", "never"],
"no-multiple-empty-lines": ["error", { "max": 1, "maxEOF": 1 }],
"camelcase": "off",
"no-use-before-define": ["error", { "functions": false, "classes": true, "variables": true }],
"consistent-return": "off",
"import/extensions": "off",
"import/no-extraneous-dependencies": "off",
"import/prefer-default-export": "off",
"arrow-parens": ["error", "as-needed"],
"operator-linebreak": ["error", "before", { "overrides": { "=": "ignore" } }],
"react/jsx-filename-extension": "off",
"react/jsx-props-no-spreading": "off",
"jsx-a11y/anchor-is-valid": [
"error",
{
"components": ["Link"],
"specialLink": ["hrefLeft", "hrefRight"],
"aspects": ["invalidHref", "preferButton"]
}
]
}
}