File tree Expand file tree Collapse file tree 3 files changed +206
-121
lines changed
Expand file tree Collapse file tree 3 files changed +206
-121
lines changed Original file line number Diff line number Diff line change 11module . exports = {
2- parser : 'babel-eslint' ,
3- root : true ,
4- globals : {
5- __DEV__ : false ,
6- fetch : false
7- } ,
8- extends : [
9- 'airbnb' ,
10- 'prettier' ,
11- 'prettier/react' ,
12- 'plugin:import/errors' ,
13- 'plugin:import/warnings' ,
14- 'plugin:react-native-a11y/basic' ,
15- 'plugin:react-hooks/recommended'
16- ] ,
17- plugins : [ 'react-hooks' , 'prettier' ] ,
2+ extends : [ 'backpacker-react' ] ,
183 rules : {
19- 'react/jsx-filename-extension' : 'off' ,
20- 'import/prefer-default-export' : 'off' ,
214 'import/no-extraneous-dependencies' : 'off' ,
22- 'react/jsx-props-no-spreading' : 'off' ,
23- 'no-underscore-dangle' : 'off' ,
245 'react/sort-comp' : 'off' ,
25- 'import/no-cycle' : 'error' ,
26- 'react/prop-types' : [ 'error' , { ignore : [ 'children' ] } ]
6+ 'no-underscore-dangle' : 'warn'
277 }
288} ;
Original file line number Diff line number Diff line change 3535 "@testing-library/jest-native" : " ^4.0.1" ,
3636 "@testing-library/react-native" : " ^7.1.0" ,
3737 "@types/jest" : " ^26.0.20" ,
38- "babel-eslint" : " ^10.1.0" ,
39- "eslint" : " ^7.10.0" ,
40- "eslint-config-airbnb" : " ^18.0.1" ,
41- "eslint-config-prettier" : " ^8.1.0" ,
42- "eslint-plugin-import" : " ^2.20.1" ,
43- "eslint-plugin-jsx-a11y" : " ^6.2.3" ,
44- "eslint-plugin-prettier" : " ^3.2.0" ,
45- "eslint-plugin-react" : " ^7.19.0" ,
46- "eslint-plugin-react-hooks" : " ^4.0.0" ,
47- "eslint-plugin-react-native-a11y" : " ^2.0.4" ,
38+ "eslint-config-backpacker-react" : " ^0.3.0" ,
4839 "husky" : " ^3.1.0" ,
4940 "jest" : " ^26.6.3" ,
5041 "lint-staged" : " ^10.2.2" ,
You can’t perform that action at this time.
0 commit comments