ESLint rules related to QIWI projects.
npm add eslint-config-qiwi -D
yarn add eslint-config-qiwi -D
Refer to eslint-config-qiwi
in your .eslintrc.json:
{
"extends": "eslint-config-qiwi"
}
Run linting your TS code:
eslint -c /any/path/to/.eslintrc.json --fix
If you find this config not strong enough you may add additional rules, write some tests, and trigger assets generation.
yarn test:u
MIT