File tree Expand file tree Collapse file tree 6 files changed +33
-5
lines changed Expand file tree Collapse file tree 6 files changed +33
-5
lines changed File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 1
1
{
2
- "extends": "./.eslintrc-client ",
2
+ "extends": "./.eslintrc-browser ",
3
3
"ecmaFeatures": {
4
4
"jsx": true
5
5
},
6
6
"plugins": [
7
7
"react"
8
- ]
8
+ ],
9
+ // Setting all react rules to warning until we gain a POV.
10
+ "rules": {
11
+ "react/display-name": 1,
12
+ "react/jsx-boolean-value": 1,
13
+ "react/jsx-no-undef": 1,
14
+ "react/jsx-quotes": 1,
15
+ "react/jsx-sort-prop-types": 1,
16
+ "react/jsx-sort-props": 1,
17
+ "react/jsx-uses-react": 1,
18
+ "react/jsx-uses-vars": 1,
19
+ "react/no-did-mount-set-state": 1,
20
+ "react/no-did-update-set-state": 1,
21
+ "react/no-multi-comp": 1,
22
+ "react/no-unknown-property": 1,
23
+ "react/prop-types": 1,
24
+ "react/react-in-jsx-scope": 1,
25
+ "react/require-extension": 1,
26
+ "react/self-closing-comp": 1,
27
+ "react/sort-comp": 1,
28
+ "react/wrap-multilines": 1
29
+ }
9
30
}
Original file line number Diff line number Diff line change
1
+ .DS_Store
2
+ npm-debug.log
3
+ node_modules
Original file line number Diff line number Diff line change @@ -7,11 +7,11 @@ practices which cannot be enforced through automated tools.
7
7
```
8
8
.
9
9
├── src
10
- │ ├── .eslintrc /* extends .eslintrc-client || .eslintrc-react */
10
+ │ ├── .eslintrc /* extends .eslintrc-browser || .eslintrc-react */
11
11
│ └── test
12
12
│ └── .eslintrc /* extends .eslintrc-test */
13
13
└── server
14
- ├── .eslintrc /* extends .eslintrc-server */
14
+ ├── .eslintrc /* extends .eslintrc-node */
15
15
└── test
16
16
└── .eslintrc /* extends .eslintrc-test */
17
17
```
Original file line number Diff line number Diff line change 33
33
"bugs" : {
34
34
"url" : " https://github.com/60frames/coding-standards/issues"
35
35
},
36
- "homepage" : " https://github.com/60frames/coding-standards"
36
+ "homepage" : " https://github.com/60frames/coding-standards" ,
37
+ "peerDependencies" : {
38
+ "eslint" : null ,
39
+ "eslint-plugin-react" : null
40
+ }
37
41
}
You can’t perform that action at this time.
0 commit comments