Will Dixon
d46a5896b7
Add Depguard to supported linters
2018-05-31 23:19:41 -04:00
Stephan Renatus
468d2334ea
change isGenerated heuristic to match more generated files
...
As observed in #30 , there's tools out there that don't comply 100% with
the referenced golang convention.
With this change, golangci-lint will skip some more of those generated
files.
Signed-off-by: Stephan Renatus <srenatus@chef.io>
2018-05-31 09:15:22 +02:00
golangci
ef81b998ed
#45 : fix no results for gocyclo
2018-05-30 20:01:44 +03:00
golangci
80a5ff2eff
Merge pull request #42 from dixonwille/feature/better-memory-alloc-for-slices
...
Allocate memory for known size slices
2018-05-30 17:32:14 +03:00
Will Dixon
d3762b88e3
Remove the GoCyclo append
...
as BuildStats already appends
2018-05-30 09:33:25 -04:00
golangci
b28bf5fbee
#41 : exit with code 4 if timeouted
2018-05-30 09:45:08 +03:00
golangci
5646c61c73
#40 : fix panic in fast mode
2018-05-30 09:18:13 +03:00
Will Dixon
b699340d13
Allocate memory for known size slices
2018-05-29 19:42:49 -04:00
golangci
5363497113
skip dirs without go files early: improve logs and save time
2018-05-29 20:17:49 +03:00
golangci
b12c5591cd
#33 : don't pass not compiling packages to linters accepting loader.Program
2018-05-29 18:41:04 +03:00
golangci
ae5152c024
fix GOROOT after cross-compilation
2018-05-29 14:15:09 +03:00
golangci
0e4282179f
make releases
2018-05-29 11:18:47 +03:00
golangci
f6b51b933e
use gocyclo with changes for upstreaming, also speedup it 10x when program is loaded
2018-05-28 17:36:16 +03:00
golangci
cad9fc7760
#26 : fix spaces in nolint directive
2018-05-28 12:19:55 +03:00
golangci
ad581d3b55
#23 : improve help text for --concurrency
2018-05-28 11:41:21 +03:00
golangci
f96d8ba829
fix vendoring and log concurrency
2018-05-27 11:27:21 +03:00
golangci
eea1b93967
#14 : support color output on windows
2018-05-27 08:53:55 +03:00
golangci
cc53468e1e
#13 : fix --fast option: allow enable disabled by --fast linters
2018-05-26 21:07:38 +03:00
golangci
b361146df8
#12 : add TypeCheck linter to report compilation errors
2018-05-26 20:02:26 +03:00
xuri
5b8ffcaf76
Fix typo.
2018-05-26 21:59:09 +08:00
golangci
35f2cc3d39
Merge pull request #10 from golangci/feature/add-column-and-disable-welcome-message
...
add column of issue line; disable welcome message by default
2018-05-26 09:50:35 +03:00
golangci
17c05c062b
add column of issue line; disable welcome message by default
2018-05-26 09:48:16 +03:00
golangci
d86489893d
move log handling code into root command
2018-05-25 22:30:44 +03:00
golangci
65330f8f0c
improve benchmark
2018-05-22 22:43:47 +03:00
golangci
ab0ce75c06
Fill README section about performance
2018-05-19 22:40:14 +03:00
golangci
cdc1251fc0
optimize linters scheduling: run slow linters first
2018-05-19 16:20:43 +03:00
golangci
328b32ac61
fix config validation
2018-05-19 13:07:55 +03:00
golangci
f6b2d368a0
started README
2018-05-15 09:07:27 +03:00
golangci
5c2e6e9f5a
.travis.yml and don't use internal package
2018-05-13 19:20:42 +03:00
golangci
e73a876b0f
support patch reading from env var
2018-05-13 12:05:34 +03:00
golangci
9dd2baf8bd
enable different set of linters for golangci.com
2018-05-13 09:30:17 +03:00
golangci
05f09371ac
validate config and print resources usage
2018-05-12 10:13:37 +03:00
golangci
85ee97f776
support config and fix issues in self project
2018-05-11 22:02:24 +03:00
golangci
051922e5c8
more excludes and pretty logs
2018-05-08 22:28:29 +03:00
golangci
07ddc548dc
another group of fixes after running on golang source code
2018-05-08 18:08:28 +03:00
golangci
d993d3a264
group of fixes after running on golang source code
2018-05-08 17:13:16 +03:00
golangci
6f384926cf
fixes
2018-05-08 13:33:00 +03:00
golangci
c9d006d77a
don't import packages twice for golint
2018-05-08 13:04:15 +03:00
golangci
e6657e868e
don't analyze tests by default
2018-05-08 12:28:36 +03:00
golangci
511b04de5e
fixes after testing all linters on self repo
2018-05-08 12:10:24 +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
393733fa6a
implement max issues per linter limiting
2018-05-08 08:15:55 +03:00
golangci
4853151835
async issues processing
2018-05-07 21:44:40 +03:00
golangci
c9bb265140
fix small bugs
2018-05-07 17:30:33 +03:00
golangci
100efea259
fix deadline handling
2018-05-07 16:38:05 +03:00
golangci
9d95267977
support gas
2018-05-07 14:02:27 +03:00
golangci
0af6cacb28
support goconst
2018-05-07 12:49:17 +03:00
golangci
7291da1e5a
support unconvert
2018-05-07 12:00:17 +03:00
golangci
c6dc47bcbd
support interfacer
2018-05-07 11:13:26 +03:00