eslint-plugin-filename-checker

0.1.3 • Public • Published

eslint-plugin-filename-checker

Check File Names Format

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-filename-checker:

$ npm install eslint-plugin-filename-checker --save-dev

Usage

Add filename-checker to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "filename-checker"
    ]
}

Then configure the rules you want to use under the rules section.

{
    "rules": {
      "filename-checker/file-format": [ "error", { "regex": "Your RegEx" }]
    }
}

Supported Rules

  • Fill in provided rules here

Package Sidebar

Install

npm i eslint-plugin-filename-checker

Weekly Downloads

0

Version

0.1.3

License

ISC

Unpacked Size

4.77 kB

Total Files

6

Last publish

Collaborators

  • amirzenoozi