1.1.0 • Published 8 months ago

@rnw-community/eslint-plugin v1.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
8 months ago

RNW ESLint plugin

Elevate your React/ReactNative projects with our ESLint plugin, meticulously crafted to ensure adherence to the best practices in the industry.

npm version npm downloads

Notable Rule: no-complex-jsx-logic

Our plugin features the no-complex-jsx-logic rule, specifically designed to streamline JSX in your React components. It ensures simplicity in JSX by restricting complex expressions, thus enhancing readability and maintainability. For a comprehensive guide on this rule, see our detailed documentation.

Installation

Incorporating our plugin into your project is straightforward. Follow these simple steps:

  1. Install via NPM: Run the following command in your project directory:
npm install @rnw-community/eslint-plugin --save-dev
  1. Configure ESLint: Add the plugin to your ESLint configuration. Here's an example .eslintrc configuration:
{
  "plugins": [
    "@rnw-community"
  ],
  "rules": {
    "@rnw-community/no-complex-jsx-logic": "error"
  }
}

License

This library is licensed under The MIT License.

1.1.0

8 months ago

0.80.0

11 months ago

0.81.0

11 months ago

0.82.0

11 months ago

0.83.0

10 months ago

0.78.0

12 months ago

0.79.0

11 months ago

0.77.0

12 months ago

0.76.0

1 year ago

0.75.4

1 year ago

0.74.2

1 year ago

0.75.0

1 year ago

0.74.0

1 year ago

0.73.0

1 year ago

0.70.0

1 year ago

0.72.0

1 year ago

0.71.0

1 year ago

0.69.0

1 year ago

0.68.0

1 year ago

0.67.0

2 years ago

0.66.0

2 years ago

0.65.0

2 years ago

0.64.0

2 years ago

0.63.2

2 years ago

0.63.1

2 years ago

0.63.0

2 years ago