eslint-plugin-linnaeus-naming
v0.1.6
Published
ESLint rules for enforcing filenames and folder name patterns consistently.
Downloads
18
Maintainers
Readme
eslint-plugin-linnaeus-naming
Install
npm install --save-dev eslint-plugin-linnaeus-naming
Usage
Add linnaeus-naming
to the plugins section of your .eslintrc
configuration file.
{
"env": {
"es2024": true
},
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": ["linnaeus-naming"],
"rules": {
"linnaeus-naming/filename-convention": "error",
"linnaeus-naming/folder-name-convention": "error"
}
}
Rules
| Name | Description | | -------------------------------------------------------------- | --------------------------------------- | | filename-convention | Enforce a case format for filenames. | | folder-name-convention | Enforce a case format for folder names. |