File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 23
23
"@babel/eslint-parser" : " ^7.22.15" ,
24
24
"@babel/plugin-syntax-flow" : " ^7.22.5" ,
25
25
"@babel/plugin-transform-react-jsx" : " ^7.22.15" ,
26
+ "@react-native/eslint-plugin" : " ^0.74.0 || ^0.73.0 || ^0.72.0" ,
26
27
"@typescript-eslint/eslint-plugin" : " ^6.7.2" ,
27
28
"@typescript-eslint/parser" : " ^6.7.2" ,
28
29
"eslint-config-prettier" : " ^9.0.0" ,
Original file line number Diff line number Diff line change @@ -9,8 +9,9 @@ module.exports = {
9
9
env : {
10
10
'react-native/react-native' : true ,
11
11
} ,
12
- plugins : [ 'react-native' ] ,
12
+ plugins : [ 'react-native' , '@react-native' ] ,
13
13
rules : {
14
+ '@react-native/platform-colors' : WARNING ,
14
15
'react-native/no-unused-styles' : ERROR ,
15
16
'react-native/split-platform-components' : OFF ,
16
17
'react-native/no-inline-styles' : WARNING ,
Original file line number Diff line number Diff line change 405
405
picocolors "^1.0.0"
406
406
tslib "^2.6.0"
407
407
408
+ " @react-native/eslint-plugin@^0.74.0 || ^0.73.0 || ^0.72.0 " :
409
+ version "0.74.84"
410
+ resolved "https://registry.yarnpkg.com/@react-native/eslint-plugin/-/eslint-plugin-0.74.84.tgz#f0e9618551c9340caca7624001f8ce32794715c9"
411
+ integrity sha512-pDzo4Qm1uPZQne2sv0QK89ePxP/i+ZHjrBW3rkTVStLvsDVdyFahMmt6bzJTdYL2cGgK2oyNmfXtvO57INOu3Q==
412
+
408
413
" @types/json-schema@^7.0.12 " :
409
414
version "7.0.12"
410
415
resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.12.tgz#d70faba7039d5fca54c83c7dbab41051d2b6f6cb"
You can’t perform that action at this time.
0 commit comments