Go Meta Linter
|Supported Version||Language||Web Site|
Sider will end of support for Go Meta Linter. Sider will no longer update the tool versions even if Go Meta Linter is updated.
To start using Go Meta Linter, enable it in repository setting.
To customize Go Meta Linter, write your configuration, put it in your repository, and set up
Sider tries to download dependencies if your project contains
glide.yaml. This will be done with
glide install command before analysis.
glide.yaml contains a dependency to a library in a private repository, please add the SSH key necessary to clone it.
Note that need to set
sideci.ymlwhen you would like to run
glide installon analysis. See here for details.
sideci.yml does not contain
config option, Sider will use the default configuration. The default configuration is available in our repository.
Put your Go Meta Linter configuration under
linter: gometalinter: import_path: github.com/your-org-name/your-repo-name options: config: config/settings.json exclude: 'REGEXP' include: 'REGEXP' skip: vendor/github.com/ cyclo-over: 10 min-confidence: .80 dupl-threshold: 50 severity: 'error' vendor: true tests: true errors: true fast: true disable-all: true enable: - gofmt - test disable: - vet
Specify the name that will be given to
import when importing the source code in the repository. This setting will be required to analyze most of non-trivial go programs.
In order to analyze programs that contain
import, Sider will first copy the source code in your repository to the directory whose name was specified in
$GOPATH/src. Then, it will start an analysis.
This option allows you to control command line options that are given to
This option allows you to control a configuration file. If you have settings file for Go Meta Linter, put it in this option.
This option allows you to manage messages to exclude by matching regular expressions you set.
This option allows you to manage messages to include by matching regular expressions you set.
This option allows you to control skipping directories when running Go Meta Linter.
This option allows you to control threshold of cyclomatic complexity to report. Go Meta Linter reports functions that have the complexity more than the number you set.
This option allows you to control minimum token sequence as a clone for duplication.
This option allows you to control the map of linter severities. You can set
This option allows you to decide whether to support vendoring.
This option allows you to decide whether to analyze test files. If you would like to include test files, set
true in this option.
This option allows you to manage whether to show only errors.
This option allows you to manage whether to run only fast linters. If you declare true in this option, the following faster linters willl run:
This option allows you to decide whether to disable all linters.
This option allows you to enable linters previously disabled. Set linters as a list in this option.
This option allows you to disable linters previously enabled. Set linters as a lint in this option.