@fxlint/eslint-plugin
v0.5.0
Published
Custom rules used within People Experiences
Downloads
18
Readme
@fxlint/eslint-plugin
Some custom rules that we use internally in some of our projects that might be useful for you. You'll find more info on the project website.
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install @fxlint/eslint-plugin
:
npm install @fxlint/eslint-plugin --save-dev
Usage
Add @fxlint
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"@fxlint"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"@fxlint/rule-name": 2
}
}
Supported Rules
- Fill in provided rules here