Skip to content

Releases: SublimeLinter/SublimeLinter-golangcilint

3.1.0

02 Sep 07:39

Choose a tag to compare

We switch the output format to "text" which is I think just as easy or not-easy as the previous "tab" format but has better support. Well, I think it is more resilient.

Why not JSON?, I hear you. ❤️

3.0.0

01 Apr 14:07
a1be8cf

Choose a tag to compare

@eread added support for golangci-lint v2. This is a breaking change, users that run v1 need to set that in the linter settings, per project or globally. Set v1: true, refer our README.

2.0.2 — Arguments release

25 Oct 07:54
8113b27

Choose a tag to compare

Thanks to @fserb and @pztrn for adding the ability to customize the arguments passed to the golangci-lint program at runtime. Users who want to take advantage of this feature will be able to add different arguments via SublimeLinter.args, which allows you to specify extra arguments to pass to the external binary. By default, the linter plugin will continue passing the option --fast as it was doing until version 2.0.1. Use Linter Settings to add or remove arguments.

2.0.1

18 May 19:36
a034220

Choose a tag to compare

  • Fix link in install text

2.0.0 — Minimalistic release

21 Oct 21:34
f8bb42b

Choose a tag to compare

Thanks to @nfnt we now have a much simpler version of the code to integrate golangci-lint with SublimeLinter. Please make sure to update your copy of golangci-lint to at least 1.20.0 to guarantee the integrity of the integration.

Note: The linter only runs when you load or save a Go file, this is due to restrictions on how Go projects are structured, specially if they are making use of Go Modules. We opted for this approach to avoid ambiguity and problems with canonical import paths that require a specific folder location to run Go tools.

1.1.3 — Windows release

22 Jul 19:24
bb3544f

Choose a tag to compare

Thanks to @florentchauveau for fixing a bug in the linter output parser that was affecting Windows users. Details about the bug and the patch are available in this pull-request.

1.1.2 — Stderr release

02 Apr 06:21
463ca84

Choose a tag to compare

The linter plugin will now display a warning when the underlaying linter binary errors via /dev/stderr. This will allow people to investigate possible issues with their Go setup, specially with Go Modules, and with projects that are using canonical import paths. This release is possible thanks to the contributions made by @kortschak who originally discovered the missing information via this issue.

1.1.1 — Hotfix release

17 Mar 23:50
d8d7ae9

Choose a tag to compare

Version 1.1.1 fixes a bug in some 3rd-party linters used by golangci-lint that return line and column numbers as string rather than integers like the majority of linters do. This causes the SublimeLinter plugin to fail a line-column repositioning because the operation is based in a mathematical formula that requires all variables to be of type int.

1.1.0 — LintMatch release

08 Mar 07:14
9b8959e

Choose a tag to compare

  • afe395a Add screenshot to showcase the functionality of the plugin
  • 26016d3 Modify Makefile to delete sublime-package before plugin reload
  • 7609388 Add LintMatch yielding to comply with SublimeLinter standards
  • ca5bdfc Modify visibility of private methods to comply with PEP8
  • a4429d7 Add support to lint changes in the live buffer in background
  • 5a835c4 Add user control for the maximum number of files to analyze
  • 9b8959e Add note to explain the performance of the command line tools

1.0.0 — Initial Release

06 Mar 21:35
59c8005

Choose a tag to compare

  • 0884638 - Add initial commit with the project description
  • 81f6429 - Add messages.txt to notify users about updates
  • 199cd11 - Add configuration file for Travis-CI
  • 91a82fa - Add linter script with command and expected regular expression
  • b10119d - Override SublimeLinter.run method to process in the background
  • e2d1813 - Add linter mode detection and one-hundred files limit
  • 6cfe0c7 - Override SublimeLinter.finalize_cmd method to reset command
  • a11a4f7 - Add temporary directory handling to improve linter accuracy
  • 8765208 - Add JSON output decoder and preliminary linter report
  • 9722427 - Remove unrelated warnings from files different than buffer
  • 0413b19 - Add automatic warning error detection depending on issue level
  • 34a1ccf - Add /dev/stderr detection to merge errors with other warnings
  • f7e15c4 - Add explicit MIT license using a LICENSE.md file
  • 970f5b8 - Add Makefile with a target to deploy the package on macOS
  • 9d2cb41 - Modify README to link to the official golangci-lint instructions
  • 6db712c - Add copyright for the original author and current maintainer
  • acef49b - Add error message upon canonical import path detection
  • f24eef4 - Add function to format the usable warnings after analysis
  • 3db24bd - Add simplified short filename assignment for future usage
  • c42815a - Add canonical imports detection to deal with false positives
  • 59c8005 - Add a note about the ownership transfer of the project