File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,13 +42,15 @@ lint:
4242 - checkov@3.2.507
4343 - dotenv-linter@3.3.0
4444 # ESLint 9+ defaults to flat config only; this repo uses .eslintrc.js (ESLint 8 style).
45- # Trunk runs ESLint in an isolated env without the repo's node_modules; bundle the same
46- # plugins/parser as package.json so @typescript-eslint/* resolves (CI + local) .
45+ # Trunk runs ESLint in an isolated env without the repo's node_modules; bundle the root
46+ # TypeScript plugins plus the sample app's React Native shareable config .
4747 - eslint@8.57.1 :
4848 packages :
49- - ' @typescript-eslint/eslint-plugin@5.62.0'
50- - ' @typescript-eslint/parser@5.62.0'
49+ - ' @react-native/eslint-config@0.84.0'
50+ - ' @typescript-eslint/eslint-plugin@8.56.1'
51+ - ' @typescript-eslint/parser@8.56.1'
5152 - ' eslint-config-prettier@8.10.0'
53+ - ' eslint-plugin-jest@29.15.0'
5254 - ' eslint-plugin-prettier@4.2.1'
5355 - git-diff-check
5456 - ktlint@0.43.2
Original file line number Diff line number Diff line change 1+ const path = require ( 'path' ) ;
2+
13module . exports = {
24 root : true ,
35 extends : '@react-native' ,
6+ parserOptions : {
7+ babelOptions : {
8+ configFile : path . join ( __dirname , 'babel.config.js' ) ,
9+ } ,
10+ } ,
411} ;
You can’t perform that action at this time.
0 commit comments