GoLand 2021.3 Help

Code Inspections in Version control

This topic lists all GoLand code inspections available in Version control.

You can toggle specific inspections or change their severity level on the Editor | Inspections page of the IDE settings Ctrl+Alt+S.

Inspection

Description

Default Severity

Ignore file duplicates

Reports duplicate entries (patters) in the ignore file (e.g. .gitignore, .hgignore). Duplicate entries in these files are redundant and can be removed.

Example:
# Output directories /out/ /target/ /out/

Warning Warning

Last modified: 11 February 2022