An open API service indexing awesome lists of open source software.

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.

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`