0.0.1 • Published 1 year ago

eslint-plugin-is-story-prefix v0.0.1

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

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.

0.0.1

1 year ago

0.0.0

1 year ago