
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/eslint-plugin
Advanced tools
This plugin is intended to be used in @react-native/eslint-config. You probably want to install that package instead.
yarn add --dev eslint @react-native/eslint-plugin
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):
{
"plugins": ["@react-native"]
}
platform-colorsEnforces that calls to PlatformColor and DynamicColorIOS are statically analyzable to enable performance optimizations.
To run the tests in this package, run the following commands from the React Native root folder:
yarn to install the dependencies. You just need to run this onceyarn jest packages/eslint-plugin-react-native.FAQs
ESLint rules for @react-native/eslint-config
The npm package @react-native/eslint-plugin receives a total of 557,313 weekly downloads. As such, @react-native/eslint-plugin popularity was classified as popular.
We found that @react-native/eslint-plugin demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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.