Codacy tool to add support for revive.
You can create the docker by doing:
make docker
The docker is ran with the following command:
docker run -it -v $srcDir:/src <DOCKER_NAME>:<DOCKER_VERSION>
To run the tool using a custom configuration file, run docker with the following command:
docker run -it -v $srcDir:/src -v $codacyrcConfig:/.codacyrc <DOCKER_NAME>:<DOCKER_VERSION>
Tool Developer Guide - Using Scala
- To run the tool we provide the configuration file,
/.codacyrc
, with the language to run and optional parameters your tool might need. - The source code to be analysed will be located in
/src
, meaning that when provided in the configuration, the file paths are relative to/src
.
Check more information here
At Codacy we strive to provide the best value to our users and, to accomplish that, we document our patterns so that the user can better understand the problem and fix it.
The documentation for the tool must always be updated before submitting the docker.
To get more information on the tool documentation, check here
This documentation should be generated automatically by using the Documentation Generator tool:
make build-docs
- update the .tool_version file with the latest revive version
- upgrade dependencies
go get -u -t
go install
go fix
go mod tidy
- generate documentation
- if rules change add/edit related parameters in
toolparameters/parameter.go
.
go mod tidy
go get -u golang.org/x/sys
brew install pandoc
Follow the instructions at codacy-plugins-test.
Codacy is an Automated Code Review Tool that monitors your technical debt, helps you improve your code quality, teaches best practices to your developers, and helps you save time in Code Reviews.
- Identify new Static Analysis issues
- Commit and Pull Request Analysis with GitHub, BitBucket/Stash, GitLab (and also direct git repositories)
- Auto-comments on Commits and Pull Requests
- Integrations with Slack, HipChat, Jira, YouTrack
- Track issues in Code Style, Security, Error Proneness, Performance, Unused Code and other categories
Codacy also helps keep track of Code Coverage, Code Duplication, and Code Complexity.
Codacy supports PHP, Python, Ruby, Java, JavaScript, and Scala, among others.
Codacy is free for Open Source projects.