0.0.1 • Published 3 years ago
eslint-plugin-is-story-prefix v0.0.1
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-devNext, install eslint-plugin-is-story-prefix:
npm install eslint-plugin-is-story-prefix --save-devUsage
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.