eslint-config-sonarqube
v2.1.3
Published
ESLint configuration for SonarQube and its plugins.
Downloads
12,660
Maintainers
Keywords
Readme
eslint-config-sonarqube
ESLint configuration for SonarCloud, SonarQube and its plugins.
Usage
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