914 Commits

Author SHA1 Message Date
Denis Isaev
f5a9bbb140
don't run megacheck if there are not compiling packages and warn about it 2018-06-10 09:22:21 +03:00
Isaev Denis
616bc37d6a
Merge pull request #79 from alecthomas/master
Allow --enable, --enable-all and --fast to coexist.
2018-06-09 17:29:33 +03:00
Alec Thomas
581a3564ff Allow --enable, --enable-all and --fast to coexist.
This is useful to first enable all linters (including fast ones), then
only enable fast linters, then add extra linters. eg.

```
golangci-lint run --no-config --enable-all --fast --print-issued-lines=false \
    --exclude-use-default=false --tests --enable typecheck .
```
2018-06-09 19:49:24 +10:00
Denis Isaev
9ed7dad894
#77: move changes from README.md to README.md.tmpl 2018-06-09 00:01:54 +03:00
Isaev Denis
94ba831a89
Merge pull request #77 from charl/master
Language changes and fixed some typos.
2018-06-08 23:23:54 +03:00
Charl Matthee
5862a4b8a4
Language changes and fixed some typos.
Language changes and fixed some typos.
2018-06-08 09:21:23 +02:00
Denis Isaev
61c0974323
improved warnings logging 2018-06-08 08:43:43 +03:00
Denis Isaev
1fad9ea1d7
add information about GoLand support into README.md 2018-06-07 23:42:52 +03:00
Denis Isaev
c144a3c731
update information about editor integration and nolint in README.md 2018-06-07 23:17:24 +03:00
Isaev Denis
a37c6e62f3
Merge pull request #74 from golangci/feature/support-skip-files-and-dirs
#30: support --skip-files and --skip-dirs options: they skip files an…
2018-06-07 09:52:53 +03:00
Denis Isaev
eee7e73dc1
#30: support --skip-files and --skip-dirs options: they skip files and dirs by regexps 2018-06-07 09:39:33 +03:00
Isaev Denis
110f584ad9
Merge pull request #71 from golangci/feature/full-support-of-nolint-directives
#65, #68: make //nolint processing like in gometalinter
v1.5
2018-06-06 23:59:28 +03:00
Denis Isaev
8a9b3a5143
#65, #68: make //nolint processing like in gometalinter 2018-06-06 23:51:15 +03:00
Isaev Denis
af77076207
Merge pull request #70 from golangci/feature/skip-cgo-issues
skip all cgo issues
2018-06-06 22:12:50 +03:00
Denis Isaev
f6a7e89d69
skip all cgo issues 2018-06-06 22:06:01 +03:00
Isaev Denis
58b4d28a3f
Merge pull request #69 from golangci/support/properly-merge-slice-flags-from-config-and-cmd
#66: properly merge (not overwrite) slice flags from config and comma…
2018-06-06 10:01:10 +03:00
Denis Isaev
afc4b4344f
#66: properly merge (not overwrite) slice flags from config and command-line 2018-06-06 09:11:21 +03:00
Isaev Denis
9c07341b36
Merge pull request #64 from ashanbrown/patch-1
Fix typo in includeGoRoot config field
2018-06-04 09:06:35 +03:00
Andrew Shannon Brown
41719ec87e
Fix typo in includeGoRoot config field 2018-06-03 19:24:24 -07:00
Denis Isaev
ad3bf1eb58
fix --version option and improve installation section of docs v1.4.1 2018-06-03 09:25:53 +03:00
Denis Isaev
e8fb3a5166
docs: update contact info 2018-06-03 00:37:22 +03:00
Isaev Denis
963db7c4bc
Merge pull request #62 from golangci/feature/tab-output-format
#37: add tab output format: --out-format=tab
v1.4
2018-06-02 21:08:09 +03:00
Denis Isaev
f62d607410
#37: add tab output format: --out-format=tab 2018-06-02 21:01:09 +03:00
Isaev Denis
1e0cacf411
Merge pull request #61 from golangci/feature/search-config-file
#60: search config file in directories from file path up to root
2018-06-02 20:34:01 +03:00
Denis Isaev
0f6213dbc2
#60: search config file in directories from file path up to root 2018-06-02 20:28:53 +03:00
Isaev Denis
68e1295340
Merge pull request #59 from golangci/feature/enabled-tests-linting-by-default
#52: #36: lint test files by default
2018-06-02 18:30:08 +03:00
Denis Isaev
b0826710b5
#52: #36: lint test files by default: set --tests=false to disable it 2018-06-02 18:24:00 +03:00
Isaev Denis
7dfc117592
Merge pull request #58 from golangci/support/fix-double-parsing-of-options
#49: don't fill string slice 2 times because of double parsing of opt…
2018-06-02 17:58:21 +03:00
Denis Isaev
4fd5ebe7c7
#49: don't fill string slice 2 times because of double parsing of options 2018-06-02 17:50:38 +03:00
Isaev Denis
594197d0ac
Merge pull request #57 from golangci/feature/generate-cmd-help-section-of-readme
generate command line options section of README
2018-06-02 16:28:48 +03:00
golangci
9133ef4271 generate command line options section of README 2018-06-02 16:01:20 +03:00
golangci
4df5df2ab7
Merge pull request #56 from golangci/feature/svg-demo
add svg demo
2018-06-02 14:24:02 +03:00
golangci
d4d2697f8a add svg demo 2018-06-02 14:10:34 +03:00
golangci
efc97a374a
Merge pull request #55 from golangci/feature/generate-parts-of-readme
generate parts of README automatically
2018-06-02 11:44:32 +03:00
golangci
034728ec94 generate parts of README automatically 2018-06-02 11:37:17 +03:00
golangci
5236feb1ae
Merge pull request #53 from golangci/support/dont-print-congrats-if-timeout
refactor and don't print congrats if timeouted
2018-06-02 09:28:43 +03:00
golangci
0a111acaab refactor and don't print congrats if timeouted 2018-06-02 00:30:39 +03:00
golangci
2f333be584
Merge pull request #47 from dixonwille/feature/add-depguard
Add Depguard to supported linters
2018-06-01 23:40:41 +03:00
Will Dixon
d46a5896b7 Add Depguard to supported linters 2018-05-31 23:19:41 -04:00
golangci
9c048da092
Merge pull request #48 from srenatus/sr/auto-detect-more-generated-code
change isGenerated heuristic to match more generated files
2018-05-31 19:18:52 +03:00
golangci
71fe07cf9e
Update README.md 2018-05-31 19:00:38 +03:00
golangci
ef898b9815 docs: add CLA 2018-05-31 18:29:06 +03: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
21ff49ce6d
Merge pull request #46 from golangci/support/fix-no-results-for-gocyclo
#45: fix no results for gocyclo
v1.3.7
2018-05-30 20:11:51 +03: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
3b5ee0ce5b
Merge pull request #44 from golangci/support/exit-code-4-if-deadline
#41: exit with code 4 if timeouted
v1.3.6
2018-05-30 09:49:00 +03:00
golangci
b28bf5fbee #41: exit with code 4 if timeouted 2018-05-30 09:45:08 +03:00
golangci
199d460807
Merge pull request #43 from golangci/support/fix-panic-in-fast-mode
#40: fix panic in fast mode
2018-05-30 09:25:03 +03:00