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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.3
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.3
    3
  • 0.1.2
    0
  • 0.1.1
    0
  • 0.1.0
    0

Package Sidebar

Install

npm i eslint-plugin-filename-checker

Weekly Downloads

3

Version

0.1.3

License

ISC

Unpacked Size

4.77 kB

Total Files

6

Last publish

Collaborators

  • amirzenoozi