0.0.3 • Published 8 months ago
eslint-plugin-sc-tech v0.0.3
eslint-plugin-sc-tech
Eslint plugin for custom rules to be used in S.C. Nordic Organization
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-sc-tech
:
npm install eslint-plugin-sc-tech --save-dev
import scRules from 'eslint-plugin-sc-tech';
Usage Legacy
Add scRules
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"scRules"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"scRules/no-hardcoded-values": "error"
}
}