UNPKG

1.89 kBJSONView Raw
1{
2 "root": true,
3 "globals": {
4 "console2": true,
5 "TraceError": true
6 },
7 "extends": "airbnb",
8 "plugins": [
9 "react",
10 "mocha",
11 "babel"
12 ],
13 "parser": "babel-eslint",
14 "env": {
15 "node": true,
16 "mocha": true,
17 "es6": true
18 },
19 "rules": {
20 "react/jsx-no-bind": [
21 2,
22 {
23 "ignoreRefs": true,
24 "allowArrowFunctions": true,
25 "allowBind": false
26 }
27 ],
28 "react/jsx-indent-props": 0,
29 "react/jsx-closing-bracket-location": [
30 2,
31 {
32 "location": "after-props"
33 }
34 ],
35 "mocha/no-exclusive-tests": 2,
36 "comma-dangle": [
37 2,
38 "never"
39 ],
40 "object-curly-spacing": [
41 2,
42 "never"
43 ],
44 "object-shorthand": [
45 2,
46 "always"
47 ],
48 "no-console": 0,
49 "no-extra-parens": 2,
50 "arrow-body-style": [
51 2,
52 "as-needed"
53 ],
54 "valid-jsdoc": 2,
55 "no-unreachable": 2,
56 "prefer-template": 2,
57 "prefer-arrow-callback": 2,
58 "arrow-spacing": [
59 2,
60 {
61 "before": true,
62 "after": true
63 }
64 ],
65 "no-useless-call": 2,
66 "no-proto": 2,
67 "no-useless-concat": 2,
68 "max-len": [
69 2,
70 120,
71 4
72 ],
73 "no-param-reassign": 0,
74 "jsx-quotes": [
75 2,
76 "prefer-single"
77 ],
78 "indent": [
79 2,
80 2,
81 {
82 "SwitchCase": 1
83 }
84 ],
85 "brace-style": [
86 2,
87 "1tbs",
88 {
89 "allowSingleLine": false
90 }
91 ],
92 "no-underscore-dangle": 0,
93 "babel/generator-star-spacing": 1,
94 "babel/new-cap": 1,
95 "babel/array-bracket-spacing": 1,
96 "babel/object-curly-spacing": 1,
97 "babel/object-shorthand": 1,
98 "babel/arrow-parens": [
99 2,
100 "as-needed"
101 ],
102 "babel/no-await-in-loop": 1
103 },
104 "ecmaFeatures": {
105 "jsx": true,
106 "objectLiteralShorthandProperties": true,
107 "spread": true
108 }
109}
\No newline at end of file