# @react-native/eslint-plugin

[![npm]](https://www.npmjs.com/package/@react-native/eslint-plugin) [![npm downloads]](https://www.npmjs.com/package/@react-native/eslint-plugin)

[npm]: https://img.shields.io/npm/v/@react-native/eslint-plugin.svg?color=blue
[npm downloads]: https://img.shields.io/npm/dm/@react-native/eslint-plugin.svg

ESLint rules for [`@react-native/eslint-config`](https://github.com/facebook/react-native/tree/HEAD/packages/eslint-config-react-native). You probably want to install that package instead.

## Rules

### `platform-colors`

Enforces that calls to `PlatformColor` and `DynamicColorIOS` are statically analyzable to enable performance optimizations.
