forked from ManageIQ/react-ui-components
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
42 lines (42 loc) · 1.12 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
{
"extends": "airbnb",
"parser": "babel-eslint",
"plugins": [
"react"
],
"rules": {
"no-mixed-operators": "off",
"no-underscore-dangle": ["error", { "allow": ["__"] }],
"import/prefer-default-export": "off",
"no-console": "off",
"import/no-extraneous-dependencies": ["error", {"devDependencies": true, "optionalDependencies": true, "peerDependencies": true}],
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"max-len": [2, 150, 2, {
"ignoreUrls": true,
"ignoreComments": false
}],
"react/require-default-props": [0],
"react/forbid-prop-types": [1],
"react/no-array-index-key": [1],
"jsx-a11y/click-events-have-key-events": [1],
"jsx-a11y/no-noninteractive-element-interactions": [1],
"jsx-a11y/anchor-is-valid": [1],
"no-unused-expressions": [1],
"react/no-typos": [1],
"no-shadow": "off"
},
"settings" : {
"import/extensions": ["js", "jsx"]
},
"globals": {
"window": true,
"document": true,
"__": true,
"sprintf": true,
"Image": true
},
"env": {
"node": true,
"jest": true
}
}