ESLint configuration for SonarQube and its plugins.
ESLint configuration for SonarCloud, SonarQube and its plugins.
Install:
```
yarn add --dev \
@typescript-eslint/eslint-plugin \
@typescript-eslint/parser \
eslint \
eslint-config-sonarqube \
eslint-plugin-import \
eslint-plugin-jest \
eslint-plugin-jest-dom \
eslint-plugin-jsx-a11y \
eslint-plugin-promise \
eslint-plugin-testing-library \
eslint-plugin-react \
eslint-plugin-react-hooks
Configure:
Add extends: 'sonarqube' to your local .eslintrc
Release:
1. Update the version in package.jsonCHANGELOG.md
2. Update the git commit -m "vx.y.z"
3. Commit the change with a version message: git tag vx.y.z
4. Tag the commit with the version : yarn publish`
5. Publish on npm: