|
23 | 23 | "browser": true, |
24 | 24 | "node": true, |
25 | 25 | "jasmine": true, |
26 | | - "jquery": true, |
27 | | - "es6": true |
| 26 | + "jquery": true |
28 | 27 | }, |
29 | 28 | "globals": { |
30 | | - "If": true |
| 29 | + "If": true, |
| 30 | + "Else": true |
31 | 31 | }, |
32 | 32 | "rules": { |
33 | 33 | "strict": [2, "global"], |
|
41 | 41 | "no-else-return": 2, |
42 | 42 | "wrap-iife": [2, "inside"], |
43 | 43 | "no-throw-literal": 2, |
44 | | - "indent": [2, 4, {"indentSwitchCase": true}], |
| 44 | + "indent": [2, 4, {"SwitchCase": 1}], |
45 | 45 | "brace-style": [2, "1tbs", { "allowSingleLine": true }], |
46 | 46 | "camelcase": 2, |
47 | 47 | "eol-last": 2, |
|
51 | 51 | }], |
52 | 52 | "no-mixed-spaces-and-tabs": 2, |
53 | 53 | "no-multiple-empty-lines": [1, {"max": 2}], |
54 | | - "no-space-before-semi": 2, |
| 54 | + "semi-spacing": [2, {"before": false, "after": true}], |
55 | 55 | "no-spaced-func": 2, |
56 | 56 | "no-trailing-spaces": 2, |
57 | 57 | "no-underscore-dangle": 0, |
58 | | - "no-wrap-func": 2, |
| 58 | + "no-extra-parens": [2, "functions"], |
59 | 59 | "no-var": 2, |
60 | 60 | "object-shorthand": [2, "always"], |
61 | 61 | "operator-assignment": [2, "always"], |
|
67 | 67 | "space-return-throw-case": 2, |
68 | 68 | "space-unary-ops": [2, {"words": true, "nonwords": false}], |
69 | 69 | "react/display-name": 1, |
| 70 | + "react/jsx-boolean-value": [2, "always"], |
| 71 | + "react/jsx-curly-spacing": [2, "never"], |
| 72 | + "react/jsx-max-props-per-line": 0, |
| 73 | + "react/jsx-no-duplicate-props": [2, { "ignoreCase": true }], |
| 74 | + "react/jsx-no-literals": 0, |
| 75 | + "react/jsx-no-undef": 2, |
70 | 76 | "react/jsx-quotes": [2, "double"], |
71 | | - "react/jsx-no-undef": 1, |
| 77 | + "react/jsx-sort-prop-types": [2, { "ignoreCase": true }], |
| 78 | + "react/jsx-sort-prop": 0, |
72 | 79 | "react/jsx-uses-react": 1, |
73 | 80 | "react/jsx-uses-vars": 1, |
| 81 | + "react/no-danger": 2, |
74 | 82 | "react/no-did-mount-set-state": [1, "allowed-in-func"], |
75 | 83 | "react/no-did-update-set-state": 1, |
76 | 84 | "react/no-multi-comp": 1, |
77 | 85 | "react/no-unknown-property": 1, |
78 | 86 | "react/prop-types": 0, |
79 | 87 | "react/react-in-jsx-scope": 1, |
| 88 | + "react/require-extension": 0, |
80 | 89 | "react/self-closing-comp": 1, |
81 | 90 | "react/sort-comp": 1, |
82 | 91 | "react/wrap-multilines": 1 |
|
0 commit comments