Andrew Shannon Brown
909f628d75
Add linter for nolint
...
Linter can check that nolint statements are properly formatted and also that all
nolint statements are used.
2020-04-26 20:20:17 -07:00
Isaev Denis
9ba730e989
Make incremental analysis ( #808 )
...
Cache linting results. Reanalyze only changed packages
and packages tree depending on them.
Fixes #768 , fixes #809
2019-10-13 17:40:51 +03:00
Trevor Pounds
6d786b50ae
Group imports by package.
2019-10-01 18:09:47 -04:00
Denis Isaev
3d78f64b60
fix #522 : run misspell in text mode
...
Treat Go source files as plain text files by misspell: it allows detecting
issues in strings, variable names, etc. Also, it's the default mode of
a standalone misspell tool.
Also, implement richer and more stable auto-fix of misspell issues:
now it can fix multiple issues in one line.
2019-06-09 20:14:19 +03:00
Denis Isaev
8c1237b667
Use the newest go vet
...
The newest go vet based on go/analysis
2019-03-17 23:12:44 +03:00
Denis Isaev
d437ac8629
Implement auto-fixing for gofmt,goimports,misspell
...
Also, add more identifier marking patterns.
2019-02-17 20:31:31 +03:00
David López
d9a1bdb831
gocritic: fix code to pass newly added gocritic checks
...
Fix code to pass newly added gocritic checks, mainly pointer receivers and import shadows
2019-01-08 09:59:24 +03:00
Denis Isaev
e58c27e463
move source code lines extraction to processor and store source lines in output json
2018-08-18 17:27:45 +03:00
Maksym
219a5479c8
Checkstyle support ( #95 )
...
Implement checkstyle printer
2018-06-13 20:54:13 +03:00
Denis Isaev
541656cc20
Write JSON output more compactly and output object, not array
2018-06-11 11:19:40 +03:00
golangci
5dc876c260
pretty printing issues
2018-05-08 11:54:30 +03:00
golangci
073ad51ed9
support diff options
2018-05-08 09:55:38 +03:00
golangci
0e4998bb4f
move code from golangci-worker to golangci-lint
2018-05-05 07:45:06 +03:00