-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc.json
57 lines (57 loc) · 1.45 KB
/
.eslintrc.json
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
48
49
50
51
52
53
54
55
56
57
{
"parser": "babel-eslint",
"extends": "airbnb",
"plugins": ["react", "jsx-a11y", "import"],
"rules": {
"no-underscore-dangle": "off",
"no-use-before-define": "off",
"react/destructuring-assignment": "off",
"react/jsx-filename-extension": "off",
"react/require-default-props": "off",
"import/named": "off",
"import/prefer-default-export": "off",
"import/no-unresolved": "off",
"no-unused-expressions": ["error", { "allowShortCircuit": true }],
"no-console": "off",
"react/prefer-stateless-function": "off",
"react/sort-comp": "off",
"react/no-multi-comp": "off",
"react/no-array-index-key": "off",
"max-len": "off",
"no-plusplus": "off",
"no-nested-ternary": "off",
"no-return-assign": "off",
"global-require": "off",
"class-methods-use-this": "off",
"camelcase": "off",
"no-param-reassign": "off",
"no-alert": "off"
},
"globals": {
"$ReadOnly": false,
"$ReadOnlyArray": false,
"$Keys": false,
"$Shape": false,
"$Exact": false,
"$ObjMap": false,
"Class": false,
"React$Element": false,
"React$ComponentType": false,
"IntervalID": false,
"TimeoutID": false,
"fetch": false,
"__DEV__": false,
"requestAnimationFrame": false,
"alert": false
},
"settings": {
"import/resolver": {
"babel-plugin-root-import": {}
}
},
"parserOptions": {
"ecmaFeatures": {
"legacyDecorators": true
}
}
}