This repository contains eslint config for projects connected with Self Verify Lite
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install @npm_identt/eslint-config-self-verify
:
npm install @npm_identt/eslint-config-self-verify --save-dev
Add @npm_identt/eslint-config-self-verify
to the extends section of your .eslintrc
or .eslintrc.js
configuration file with common rules.
{
"extends": [
"@npm_identt/eslint-config-self-verify"
]
}
module.exports = {
extends: '@npm_identt/eslint-config-self-verify',
};
To extend project with specific configurations you can add @npm_identt/eslint-config-self-verify/${frontend|imports|prettier}
as follows.
module.exports = {
extends: '@npm_identt/eslint-config-self-verify/frontend',
};
To publish introduced changes you need to run following commands in your terminal:
npm version patch|minor|major
npm publish