eslint-plugin-is-story-prefix
v0.0.1
Published
A eslint plugin to check if filename has a prefix
Downloads
3
Maintainers
Readme
eslint-plugin-is-story-prefix
A eslint plugin to check if filename has a prefix
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-is-story-prefix
:
npm install eslint-plugin-is-story-prefix --save-dev
Usage
Add is-story-prefix
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"is-story-prefix"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"is-story-prefix/rule-name": 2
}
}
Rules
TODO: Run eslint-doc-generator to generate the rules list.