0.1.1 • Published 1 year ago

eslint-plugin-fidel v0.1.1

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

eslint-plugin-fidel

This plugin add rules for detecting unknown props passed to React components, following View-Container pattern.

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-fidel:

npm install eslint-plugin-fidel --save-dev

Usage

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

{
    "plugins": [
        "fidel"
    ]
}

Then configure the rules you want to use under the rules section.

{
    "rules": {
        "fidel/fidel-rule-2": 1
    }
}

Rules

NameDescription
fidel-rule-1This rule fires with error always, for testing purposes
fidel-rule-2Detect unknown props passed to a component in React
0.1.1

1 year ago

0.1.0

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago

0.0.0

1 year ago