File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -65,11 +65,11 @@ module.exports = {
65
65
"react/jsx-boolean-value" : [ "error" , "always" ] , // Prefer explicit
66
66
"react/jsx-filename-extension" : "off" , // Unnecessary
67
67
"react/jsx-one-expression-per-line" : "off" , // Creates unnecessary white space issues
68
+ "react/jsx-props-no-spreading" : "off" , // Unnecessary
68
69
"react/no-did-update-set-state" : "off" , // Makes hacks needed for prop change triggers
69
- "react/no-unused-state" : "off" , // TODO: Remove when rule is fixed for setState function
70
70
"react/prefer-stateless-function" : "off" , // Prefer React
71
71
"react/react-in-jsx-scope" : "off" , // Global React
72
- "react/sort-comp " : "off ", // TODO: Remove when airbnb includes componentDidCatch
72
+ "react/static-property-placement " : [ "error ", "static public field" ] , // Airbnb will catch up
73
73
"space-before-function-paren" : [ "error" , "never" ] // Whitespace - Preference
74
74
} ,
75
75
settings : {
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " eslint-config-traitify" ,
3
- "version" : " 0.0.1 " ,
3
+ "version" : " 0.1.0 " ,
4
4
"description" : " Traitify's base ESLint config" ,
5
5
"main" : " index.js" ,
6
6
"scripts" : {
25
25
},
26
26
"homepage" : " https://github.com/traitify/eslint-config-traitify#readme" ,
27
27
"dependencies" : {
28
- "babel-eslint" : " 10.x" ,
29
- "eslint-config-airbnb" : " 17.x" ,
28
+ "babel-eslint" : " 10.x || 11.x " ,
29
+ "eslint-config-airbnb" : " 17.x || 18.x " ,
30
30
"eslint-import-resolver-webpack" : " 0.x"
31
31
},
32
32
"peerDependencies" : {
33
- "eslint" : " 5.x" ,
33
+ "eslint" : " 5.x || 6.x " ,
34
34
"eslint-plugin-babel" : " 5.x"
35
35
}
36
36
}
You can’t perform that action at this time.
0 commit comments