-
Notifications
You must be signed in to change notification settings - Fork 14
/
.eslintrc
33 lines (33 loc) · 1 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
{
"extends": "eslint-config-airbnb",
"globals": {
"__ENVIRONMENT__": true,
"document": true,
"driver": true,
"window": true,
"describe": true,
"it": true,
"beforeEach": true,
"afterEach": true,
"before": true,
"after": true,
},
"parser": "babel-eslint",
"rules": {
"max-len": ["warn", { "code": 150 }],
"func-names": "off",
"indent": ["error", 4, {
"SwitchCase": 1
}],
"no-plusplus": "off",
"import/no-extraneous-dependencies": ["error", { "devDependencies": true }],
"import/no-named-as-default": "off",
"import/prefer-default-export": "off",
"react/jsx-filename-extension": "off",
"react/jsx-indent": ["error", 4],
"react/jsx-indent-props": ["error", 4],
"react/forbid-prop-types": "off",
"jsx-a11y/href-no-hash": "off",
"jsx-a11y/anchor-is-valid": ["warn", { "aspects": ["invalidHref"] }]
}
}