@kraftvaerk/eslint-plugin-guidelines
v0.0.2
Published
ESLint Plugin shareable config for the Kraftvaerk JavaScript style guide
Readme
eslint-plugin-guidelines
Eslint plugin for Kraftvaerk development
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install @kraftvaerk/eslint-plugin-guidelines:
npm install @kraftvaerk/eslint-plugin-guidelines --save-devNote: If you installed ESLint globally (using the -g flag) then you must also install @kraftvaerk/eslint-plugin-guidelines globally.
Usage
Add @kraftvaerk/eslint-plugin-guidelines to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"@kraftveark/@kraftvaerk/eslint-plugin-guidelines"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"@kraftveark/@kraftvaerk/eslint-plugin-guidelines/rule-name": 2
}
}Supported Rules
- Fill in provided rules here
