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:
- Update the version in
package.json
- Update the
CHANGELOG.md
- Commit the change with a version message:
git commit -m "vx.y.z"
- Tag the commit with the version :
git tag vx.y.z
- Publish on npm:
yarn publish