Skip to content

Add react-error-boundary to directory#1758

Merged
Simek merged 2 commits intoreact-native-community:mainfrom
Minori-ty:feature/add_expo_eslint
Jul 10, 2025
Merged

Add react-error-boundary to directory#1758
Simek merged 2 commits intoreact-native-community:mainfrom
Minori-ty:feature/add_expo_eslint

Conversation

@Minori-ty
Copy link
Copy Markdown
Contributor

@Minori-ty Minori-ty commented Jul 10, 2025

📝 Why & how

add react-error-boundary to directory

✅ Checklist

  • Added library to react-native-libraries.json
  • Updated library in react-native-libraries.json
  • Documented in this PR how to use the feature or replicate the bug.
  • Documented in this PR how you fixed or created the feature.

Comment on lines +16109 to +16116
{
"githubUrl": "https://github.com/expo/expo/tree/main/packages/eslint-config-expo",
"npmPkg": "eslint-config-expo",
"ios": true,
"android": true,
"web": true,
"expoGo": true,
"newArchitecture": true
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @Minori-ty, in general the ESLint configs should be installed as developer dependency, so they should be omitted during different checks (made by Expo CLI or expo-doctor).

We also tend to not accept ESLint related packages, since there is so many of configs and plugins, and they will clutter the directory.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your reply. I will try to ignore eslint-config-expo in expo-doctor.

Hey @Minori-ty, in general the ESLint configs should be installed as developer dependency, so they should be omitted during different checks (made by Expo CLI or expo-doctor).

We also tend to not accept ESLint related packages, since there is so many of configs and plugins, and they will clutter the directory.

Thank you for your reply. I will try to ignore eslint-config-expo in expo-doctor.

Copy link
Copy Markdown
Member

@Simek Simek Jul 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should not be checking for devDependencies in doctor, if we do, that's a bug, and please let us know!

You can also ignore the given packages via doctor config, see:

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should not be checking for devDependencies in doctor, if we do, that's a bug, and please let us know!

You can also ignore the given packages via doctor config, see:

Thank you so much for telling me about this config. I'll go try it right away.

@Minori-ty Minori-ty changed the title Add eslint-config-expo react-error-boundary to directory Add react-error-boundary to directory Jul 10, 2025
Copy link
Copy Markdown
Member

@Simek Simek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding a new package to the directory! 👍

@Simek Simek merged commit 966a5d9 into react-native-community:main Jul 10, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants