Skip to content

Commit a5d472b

Browse files
authored
feat(crnl): rn-community/eslint-config -> rn/eslint-config (#452)
### Summary Fixes #443 Replaced `@react-native-community/eslint-config` with `@react-native/eslint-config`. Please see the PR that changes the name on the React Native repository [here](facebook/react-native#34581) ### Test plan 1. Create a new React Native library 2. cd into the library you have created. 3. run `yarn lint` 4. Make sure linting works properly.
1 parent 7fc7f1c commit a5d472b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/create-react-native-library/src/utils/generateExampleApp.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const FILES_TO_DELETE = [
1818
];
1919

2020
const PACKAGES_TO_REMOVE = [
21-
'@react-native-community/eslint-config',
21+
'@react-native/eslint-config',
2222
'@tsconfig/react-native',
2323
'@types/jest',
2424
'@types/react',

packages/create-react-native-library/templates/common/$package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"devDependencies": {
6161
"@commitlint/config-conventional": "^17.0.2",
6262
"@evilmartians/lefthook": "^1.2.2",
63-
"@react-native-community/eslint-config": "^3.0.2",
63+
"@react-native/eslint-config": "^0.72.2",
6464
"@release-it/conventional-changelog": "^5.0.0",
6565
"@types/jest": "^28.1.2",
6666
"@types/react": "~17.0.21",
@@ -125,7 +125,7 @@
125125
"eslintConfig": {
126126
"root": true,
127127
"extends": [
128-
"@react-native-community",
128+
"@react-native",
129129
"prettier"
130130
],
131131
"rules": {

0 commit comments

Comments
 (0)