1.1.1 • Published 4 years ago
eslint-plugin-pabigot v1.1.1
eslint-plugin-pabigot
A holder for rules and other ESLint extensions that suit my needs.
Installation
You'll first need to install ESLint:
$ npm i eslint --save-devNext, install eslint-plugin-pabigot:
$ npm install eslint-plugin-pabigot --save-devNote: If you installed ESLint globally (using the -g flag) then
you must also install eslint-plugin-pabigot globally.
Usage
Add pabigot to the plugins section of your .eslintrc configuration
file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"pabigot"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"pabigot/affixed-ids": ["error", {
"base": "camelcase",
"allowedSuffixes": ["_ms"]
}]
}
}Supported Rules
- affixed-ids - check identifier style conformance