0.74.83 • Published 1 day ago

@react-native/eslint-plugin v0.74.83

Weekly downloads
-
License
MIT
Repository
github
Last release
1 day ago

@react-native/eslint-plugin

This plugin is intended to be used in @react-native/eslint-config. You probably want to install that package instead.

Installation

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

Usage

Add to your eslint config (.eslintrc, or eslintConfig field in package.json):

{
    "plugins": ["@react-native"]
}

Rules

platform-colors

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

Testing

To run the tests in this package, run the following commands from the React Native root folder:

  1. yarn to install the dependencies. You just need to run this once
  2. yarn jest packages/eslint-plugin-react-native.
0.74.83

9 days ago

0.74.82

11 days ago

0.74.81

20 days ago

0.74.80

27 days ago

0.74.79

1 month ago

0.74.78

1 month ago

0.74.77

1 month ago

0.74.76

2 months ago

0.74.75

2 months ago

0.75.0-main

2 months ago

0.74.1

3 months ago

0.74.0

7 months ago

0.73.1

8 months ago

0.73.0

1 year ago

0.72.0

1 year ago