- Notifications
You must be signed in to change notification settings - Fork0
Maintainability and reliability checks for Java
License
efueger/codeclimate-sonar-java
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
codeclimate-sonar-java
is a Code Climate engine that wrapsSonarlint in standalone mode.
make image
make test
- If you haven't already,install the Code Climate CLI.
- Configure a
.codeclimate.yml
file in your repo.
engines:sonar-java:enabled:trueconfig:sonar.java.source:7tests_patterns: -src/test/**exclude_paths: -build/
- Run
codeclimate analyze
.
It is possible to specifcy a Java version the code should be compliant to, it helps Sonar to use the proper rules.
engines: sonar-java: enabled: true config: sonar.java.source: 7
Specifying where the test classes are helps Sonar to use specific rules for those files.
engines: sonar-java: enabled: true config: tests_patterns: - src/test/** - app/src/test/**
Ignore issues with severity below the minimum:
engines: sonar-java: enabled: true config: minimum_severity: critical # default: major # valid values are: info, minor, major, critical, blocker
http://www.sonarlint.org/commandline
http://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner
Issue Tracker:http://jira.sonarsource.com/browse/SLCLI
This engine is developed by Code Climate usingSonarLint, it is not endorsed by SonarSoruce.
SeeLICENSE
About
Maintainability and reliability checks for Java
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Languages
- Java67.3%
- Dockerfile18.5%
- Shell10.9%
- Makefile3.3%