0.1.6 • Published 1 year ago
eslint-plugin-linnaeus-naming v0.1.6
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. |