0.1.5 • Published 2 years ago

eslint-plugin-react-rfc v0.1.5

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

eslint-plugin-react-rfc

Experimental React specific linting rules

Motivation

eslint-plugin-react has a consolidated bunch of React linting rules. However it's difficult to have an space for proves of concept. This package collects a set of experimental rules that intents to be moved to eslint-plugin-react once get madurity.

Installation

npm install eslint-plugin-react-rfc --save-dev

Configuration (legacy: .eslintrc*)

Add react-rfc to the plugins section of your .eslintrc* configuration file. You can omit the eslint-plugin- prefix:

{
  "plugins": ["react-rfc"]
}

Use our preset to get reasonable defaults:

"extends": [
  "plugin:react-rfc/recommended"
],

Rules

šŸ’¼ Configurations enabled in.\ āœ… Set in the recommended configuration.

NameDescriptionšŸ’¼
no-component-def-in-renderdisallow to define a component in render scopeāœ…
0.1.4

2 years ago

0.1.5

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago