https://github.com/sonarsource/eslint-config-sonarqube
ESLint configuration for SonarQube and its plugins.
https://github.com/sonarsource/eslint-config-sonarqube
Last synced: 11 months ago
JSON representation
ESLint configuration for SonarQube and its plugins.
- Host: GitHub
- URL: https://github.com/sonarsource/eslint-config-sonarqube
- Owner: SonarSource
- License: lgpl-3.0
- Created: 2018-04-26T18:37:34.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2025-02-03T09:24:13.000Z (over 1 year ago)
- Last Synced: 2025-07-01T09:06:58.007Z (about 1 year ago)
- Language: JavaScript
- Size: 43.9 KB
- Stars: 14
- Watchers: 26
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
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:
1. Update the version in `package.json`
2. Update the `CHANGELOG.md`
3. Commit the change with a version message: `git commit -m "vx.y.z"`
4. Tag the commit with the version : `git tag vx.y.z`
5. Publish on npm: `yarn publish`