UNPKG

2.19 kBPlain TextView Raw
1{
2 "env": {
3 "browser": true,
4 "node": true,
5 "es6": true
6 },
7 "parser": "babel-eslint",
8 "plugins": [ "react" ],
9 "settings": {
10 "react": {
11 "version": "16.0"
12 }
13 },
14 "parserOptions": {
15 "ecmaVersion": 6,
16 "sourceType": "module",
17 "ecmaFeatures": {
18 "jsx": true,
19 "experimentalObjectRestSpread": true
20 }
21 },
22 "rules": {
23 "block-scoped-var": 2,
24 "camelcase": 2,
25 "comma-dangle": [2, "never"],
26 "comma-spacing": [2, { "before": false, "after": true }],
27 "comma-style": [2, "last"],
28 "complexity": 0,
29 "curly": [2, "all"],
30 "dot-notation": 0,
31 "eqeqeq": [2, "allow-null"],
32 "global-strict": 0,
33 "guard-for-in": 2,
34 "indent": 2,
35 "jsx-quotes": [2, "prefer-double"],
36 "key-spacing": [2, { "beforeColon": false, "afterColon": true }],
37 "keyword-spacing": ["error"],
38 "max-depth": 0,
39 "max-len": [2, 120, 4, { "ignoreComments": true, "ignoreUrls": true }],
40 "max-params": 0,
41 "max-statements": 0,
42 "new-cap": 0,
43 "no-bitwise": 0,
44 "no-caller": 2,
45 "no-cond-assign": 0,
46 "no-constant-condition": 2,
47 "no-debugger": 0,
48 "no-empty": 0,
49 "no-eval": 0,
50 "no-iterator": 0,
51 "no-loop-func": 0,
52 "no-mixed-spaces-and-tabs": [2, "smart-tabs"],
53 "no-multi-str": 0,
54 "no-new": 0,
55 "no-plusplus": 0,
56 "no-proto": 0,
57 "no-script-url": 0,
58 "no-shadow": 0,
59 "no-trailing-spaces": 0,
60 "no-undef": 2,
61 "no-unused-vars": [2, {"vars": "all", "args": "none"}],
62 "no-use-before-define": [2, "nofunc"],
63 "padded-blocks": [2, "never"],
64 "quotes": [2, "single"],
65 "react/jsx-uses-react": 2,
66 "react/jsx-uses-vars": 2,
67 "react/no-did-update-set-state": 2,
68 "react/no-direct-mutation-state": 2,
69 "react/no-is-mounted": 2,
70 "react/prefer-stateless-function": 2,
71 "spaced-comment": [2, "always"],
72 "strict": 0,
73 "wrap-iife": [2, "inside"]
74 }
75}