Collection of custom ESLint rules for Mariana Tek JS Development Teams
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-plugin-mariana-tek
:
$ npm install eslint-plugin-mariana-tek --save-dev
Note: If you installed ESLint globally (using the -g
flag) then you must also install eslint-plugin-mariana-tek
globally.
Add mariana-tek
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"mariana-tek"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"mariana-tek/rule-name": 2
}
}
- template-render-format: Enforces consistent formatting of hbs template rendering in integration tests