UNPKG

1.37 kBJSONView Raw
1{
2 "extends": "eslint:recommended",
3 "parser": "babel-eslint",
4 "plugins": [
5 "react"
6 ],
7 "rules": {
8 "comma-dangle": [2, "always-multiline"],
9 "strict": 1,
10 "jsx-quotes": 2,
11 "no-console": 1,
12 "curly": 2,
13 "react/jsx-boolean-value": [2, "always"],
14 "react/jsx-closing-bracket-location": [2, "after-props"],
15 "react/jsx-curly-spacing": [2, "never"],
16 "react/jsx-indent-props": [2, 2],
17 "react/jsx-no-duplicate-props": 2,
18 "react/jsx-no-undef": 2,
19 "react/jsx-uses-react": 2,
20 "react/jsx-uses-vars": 2,
21 "react/no-danger": 1,
22 "react/no-did-mount-set-state": 1,
23 "react/no-did-update-set-state": 1,
24 "react/no-multi-comp": 1,
25 "react/no-unknown-property": 2,
26 "react/prop-types": 2,
27 "react/react-in-jsx-scope": 2,
28 "react/self-closing-comp": 2,
29 "react/wrap-multilines": 2
30 },
31 "ecmaFeatures": {
32 "arrowFunctions": true,
33 "blockBindings": true,
34 "classes": true,
35 "defaultParams": true,
36 "destructuring": true,
37 "forOf": true,
38 "generators": true,
39 "modules": true,
40 "objectLiteralComputedProperties": true,
41 "objectLiteralDuplicateProperties": false,
42 "regexUFlag": true,
43 "regexYFlag": true,
44 "restParams": true,
45 "spread": true,
46 "superInFunctions": true,
47 "templateStrings": true,
48 "jsx": true
49 },
50 "env": {
51 "browser": true
52 }
53}