0.0.10 • Published 5 months ago
price-plugin-groups v0.0.10
eslint-plugin
collections of useful plugin and rules
For Reference
Follow this links to add custom rule or extension in this plugin library https://medium.com/@bjrnt/creating-an-eslint-plugin-87f1cb42767f
Installation
You'll first need to install ESLint:
yarn add eslint --dev
Next, install eslint-plugin-price-plugin-groups
:
yarn add eslint-plugin-price-plugin-groups --dev
Usage
Add price-plugin-groups
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"price-plugin-groups"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"price-plugin-groups/rule-name": 2
}
}
Rules
Name |
---|
0.0.10
5 months ago