UNPKG

1.26 kBPlain TextView Raw
1{
2 "parser": "babel-eslint",
3
4 "plugins": [
5 "react"
6 ],
7
8 "env": {
9 "browser": true,
10 "node": true,
11 "amd": true,
12 "mocha": true,
13 "es6": true,
14 "worker": true
15 },
16
17 "globals": {
18 },
19
20 "rules": {
21 "quotes": [1, "single"],
22 "strict": [0],
23 "max-params": [1, 4],
24 "semi": [1, "never"],
25 "no-undef": [2],
26 "no-unused-vars": [1, {"vars": "all", "args": "after-used"}],
27 "no-alert": [1],
28 "valid-jsdoc": [1],
29 "brace-style": [2, "1tbs"],
30 "no-mixed-spaces-and-tabs": [2, true],
31 "no-trailing-spaces": [2],
32 "keyword-spacing": [2, {"before": true, "after": true}],
33 "max-nested-callbacks": [1, 3],
34 "space-infix-ops": [2],
35 "radix": [2],
36 "space-unary-ops": [2],
37 "wrap-regex": [2],
38 "no-mixed-requires": [1, true],
39 "eol-last": [0],
40 "no-bitwise": [1],
41 "dot-notation": [1],
42 "yoda": [2, "never"],
43 "no-nested-ternary": [1],
44 "no-delete-var": [1],
45 "no-shadow": [2],
46 "no-octal": [2],
47 "no-extra-bind": [2],
48 "no-extend-native": [2],
49 "no-extra-parens": [0],
50 "no-underscore-dangle": [0],
51 "consistent-return": [1],
52 "no-path-concat": [1],
53 "no-process-exit": [1],
54 "react/jsx-uses-vars": [2],
55 "react/jsx-uses-react": [1]
56 }
57}