eslint-plugin-is-story-prefix

0.0.1 • Public • Published

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.

Package Sidebar

Install

npm i eslint-plugin-is-story-prefix

Weekly Downloads

1

Version

0.0.1

License

ISC

Unpacked Size

3.13 kB

Total Files

5

Last publish

Collaborators

  • vilvaathibanpb