Skip to content

Commit 3f6dbe1

Browse files
committed
Update devDependencies
- apply a new eslint flat config
1 parent 1e9a52f commit 3f6dbe1

File tree

4 files changed

+2792
-2856
lines changed

4 files changed

+2792
-2856
lines changed

.eslintrc.js

Lines changed: 0 additions & 13 deletions
This file was deleted.

eslint.config.js

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
import callstackConfigReact from '@callstack/eslint-config/react.flat.js';
2+
3+
export default [
4+
{
5+
ignores: ['node_modules/', 'lib/'],
6+
},
7+
...callstackConfigReact,
8+
{
9+
files: [
10+
'eslint.config.js',
11+
'example/**/*.{js,ts,tsx}',
12+
'example/*.{js,ts,tsx}',
13+
],
14+
rules: {
15+
'import/no-extraneous-dependencies': 'off',
16+
'import/no-unresolved': 'off',
17+
'require-await': 'off',
18+
},
19+
},
20+
];

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -65,19 +65,19 @@
6565
}
6666
},
6767
"devDependencies": {
68-
"@babel/core": "^7.24.6",
69-
"@callstack/eslint-config": "^14.1.1",
70-
"@react-native/babel-preset": "^0.74.83",
71-
"@react-native/typescript-config": "^0.74.83",
72-
"@types/react": "^18.3.3",
73-
"eslint": "^8.57.0",
74-
"prettier": "^3.2.5",
68+
"@babel/core": "^7.26.0",
69+
"@callstack/eslint-config": "^15.0.0",
70+
"@react-native/babel-preset": "^0.77.0",
71+
"@react-native/typescript-config": "^0.77.0",
72+
"@types/react": "^18.3.18",
73+
"eslint": "^9.18.0",
74+
"prettier": "^3.4.2",
7575
"react": "^18.3.1",
76-
"react-native": "^0.74.1",
77-
"react-native-builder-bob": "^0.23.2",
78-
"react-native-test-app": "^2.5.35",
76+
"react-native": "^0.77.0",
77+
"react-native-builder-bob": "^0.35.2",
78+
"react-native-test-app": "^4.0.9",
7979
"release-it": "^10.3.1",
80-
"typescript": "^5.4.5"
80+
"typescript": "^5.7.3"
8181
},
8282
"publishConfig": {
8383
"access": "public",

0 commit comments

Comments
 (0)