
Security News
The Changelog Podcast: Practical Steps to Stay Safe on npm
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.
@react-native-community/eslint-config
Advanced tools
yarn add --dev eslint prettier @react-native-community/eslint-config
Note: We're using yarn to install deps. Feel free to change commands to use npm 3+ and npx if you like
Add to your eslint config (.eslintrc, or eslintConfig field in package.json):
{
"extends": "@react-native-community"
}
eslint-config-airbnb is a popular ESLint configuration that follows the Airbnb JavaScript style guide. It is widely used in both React and React Native projects. Compared to @react-native-community/eslint-config, it provides a more general set of rules that are not specifically tailored for React Native.
eslint-config-standard is another popular ESLint configuration that follows the JavaScript Standard Style. It is less opinionated than eslint-config-airbnb and provides a simpler set of rules. While it can be used in React Native projects, it does not offer the specific rules and configurations that @react-native-community/eslint-config provides.
eslint-config-react-app is the ESLint configuration used by Create React App. It is designed for React projects and includes rules for both JavaScript and JSX. While it can be used in React Native projects, it is more focused on web development and does not include React Native-specific rules.
FAQs
ESLint config for React Native
The npm package @react-native-community/eslint-config receives a total of 169,204 weekly downloads. As such, @react-native-community/eslint-config popularity was classified as popular.
We found that @react-native-community/eslint-config demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 31 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.