0.1.3 • Published 3 years ago
eslint-plugin-filename-checker v0.1.3
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