Skip to content

Commit

Permalink
feat(crnl): rn-community/eslint-config -> rn/eslint-config (#452)
Browse files Browse the repository at this point in the history
### 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.
  • Loading branch information
atlj authored Sep 1, 2023
1 parent 7fc7f1c commit a5d472b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const FILES_TO_DELETE = [
];

const PACKAGES_TO_REMOVE = [
'@react-native-community/eslint-config',
'@react-native/eslint-config',
'@tsconfig/react-native',
'@types/jest',
'@types/react',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"devDependencies": {
"@commitlint/config-conventional": "^17.0.2",
"@evilmartians/lefthook": "^1.2.2",
"@react-native-community/eslint-config": "^3.0.2",
"@react-native/eslint-config": "^0.72.2",
"@release-it/conventional-changelog": "^5.0.0",
"@types/jest": "^28.1.2",
"@types/react": "~17.0.21",
Expand Down Expand Up @@ -125,7 +125,7 @@
"eslintConfig": {
"root": true,
"extends": [
"@react-native-community",
"@react-native",
"prettier"
],
"rules": {
Expand Down

0 comments on commit a5d472b

Please sign in to comment.