File tree Expand file tree Collapse file tree 3 files changed +875
-513
lines changed Expand file tree Collapse file tree 3 files changed +875
-513
lines changed Original file line number Diff line number Diff line change 11module . exports = {
2- extends : 'ls-react' ,
2+ parserOptions : {
3+ sourceType : 'module' ,
4+ ecmaVersion : 2022 ,
5+ } ,
6+ extends : [ 'eslint:recommended' , 'plugin:react/recommended' ] ,
7+ settings : {
8+ react : {
9+ version : 'detect' ,
10+ } ,
11+ } ,
312 env : {
13+ node : true ,
414 jest : true ,
15+ es6 : true ,
516 } ,
617 globals : {
718 shallow : true ,
@@ -11,5 +22,6 @@ module.exports = {
1122 'lodash/import-scope' : 0 ,
1223 'lodash/prefer-lodash-method' : 0 ,
1324 'lodash/prefer-noop' : 0 ,
25+ 'react/prop-types' : 'off' ,
1426 } ,
1527} ;
Original file line number Diff line number Diff line change 3434 "enzyme" : " ^3.7.0" ,
3535 "enzyme-adapter-react-16" : " ^1.7.0" ,
3636 "enzyme-to-json" : " ^3.3.5" ,
37- "eslint-config-ls-react" : " https://github.com/lawnstarter/eslint-config-ls-react#3.0.0" ,
37+ "eslint" : " ^8.29.0" ,
38+ "eslint-plugin-react" : " ^7.31.11" ,
3839 "husky" : " ^2.4.0" ,
3940 "jest" : " ^23.6.0" ,
4041 "prettier" : " ^2.0.5" ,
You can’t perform that action at this time.
0 commit comments