eslint-plugin-filename-consistency

1.0.2 • Public • Published

eslint-plugin-filename-consistency

Enabling the plugin

Modify your .eslintrc file to load the plugin and enable the rules you want to use.

{
  "plugins": [
    "filename-consistency"
  ],
  "rules": {
    "filename-consistency/match": "error"
  }
}

Rules

Consistent files and folders names (match)

A rule to enforce a certain file and folder naming convention.

The convention can be configured using the name of case (the default is camel).

Read more about this rule here

Package Sidebar

Install

npm i eslint-plugin-filename-consistency

Weekly Downloads

116

Version

1.0.2

License

MIT

Unpacked Size

16.2 kB

Total Files

15

Last publish

Collaborators

  • wmdanor