Denis Isaev
21c9965f50
docs: #267 : update CLA text
2018-11-04 11:39:45 +03:00
Pavel Berezhnoy
f5f7701650
Fix #261 : build-tags fix for package loader
v1.11.2
2018-10-29 14:33:44 +03:00
Denis Isaev
14f4dcebe5
docs: update Trusted By section
2018-10-28 21:53:00 +03:00
Denis Isaev
f9e1c6550b
docs: write about Atom integration
v1.11.1
2018-10-28 19:45:29 +03:00
Denis Isaev
87cb7bf1a6
Fix skip-dirs options after support of go/packages
2018-10-28 19:35:12 +03:00
Denis Isaev
fbcc55224f
Fix #232 : change license from AGPL to GPL
2018-10-28 19:04:24 +03:00
Denis Isaev
8fceb7fc47
Fix #209 : support goimports.local-prefix option for goimports
2018-10-28 18:47:56 +03:00
Denis Isaev
6aeecb7817
docs for #222 : add info about VS Code configuration
2018-10-28 18:18:24 +03:00
Denis Isaev
17508ab904
update golang.org/x/tools
v1.11
2018-10-28 18:03:14 +03:00
Denis Isaev
0421bac259
Fix #237 , fix #178 : use go/packages
...
Use go/packages instead of x/tools/loader: it allows to work
with go modules and speedups loading of packages with the help
of build cache.
A lot of linters became "fast": they are enabled by --fast now and
work in 1-2 seconds. Only unparam, interfacer and megacheck
are "slow" linters now.
Average project is analyzed 20-40% faster than before if all linters are
enabled! If we enable all linters except unparam, interfacer and
megacheck analysis is 10-20x faster!
2018-10-28 17:55:15 +03:00
Peter Schuller
a84578d603
Tweak log entry for "not compiling" packages.
...
Motivation: Make it clear that the message is indicating packages
*which do not compile*, rather than packages which *won't be
compiled [for some unknown reason]*.
2018-10-28 16:54:37 +03:00
bartfokker
e5a60caa97
update generated readme
2018-10-28 16:45:05 +03:00
bartfokker
01ec556bfd
added golangci-lint badge to repo
2018-10-28 16:45:05 +03:00
bartfokker
4cc6ed7db9
update generated README.md
2018-10-28 16:45:05 +03:00
bartfokker
58c7cce444
update building from source in readme to include buildFlags.
2018-10-28 16:45:05 +03:00
bartfokker
4570c043a9
remove panic for fmt.Fprintf (bit prettier when printing to console)
2018-10-23 09:56:04 +03:00
Denis Isaev
13ce836c33
docs: write about supported go versions
2018-10-21 11:56:13 +03:00
Diego Pontoriero
6ecea1cddc
config: gas => gosec defaults.
...
Updates the strings to reflect the linter rename.
2018-10-20 11:17:41 +03:00
Diego Pontoriero
9f0dcd6e34
readme: fix typo in sample config.
...
Should be `max-same-issues`, not `max-same`.
Also adds a trailing newline to files, which is good form, and updates
the generator to handle that cleanly.
Fixes #216 .
2018-10-20 11:16:49 +03:00
Alexander Menzhinsky
1759c57577
Replace ENTRYPOINT with CMD
2018-10-20 11:14:51 +03:00
Denis Isaev
6f6d496eb4
update golang.org/x/tools in go.mod
2018-10-20 10:54:47 +03:00
Cezar Sa Espinola
b307cc3765
Fix formatting with updated goimports version
2018-10-20 10:40:40 +03:00
Cezar Sa Espinola
0e2be20016
vendor: update golang.org/x/tools including goimports formatting changes
...
A recent change was introduced in goimports improving how it sort and
format imports in https://go-review.googlesource.com/c/tools/+/116795
This commit updates the vendored version of the golang.org/x/tools
repository to include these changes.
2018-10-20 10:40:40 +03:00
Alexander Menzhinsky
889e38c2fa
Make it build with go1.11
2018-10-20 10:38:06 +03:00
vterdunov
d55cc8808b
Fix nolint comment in readme
2018-10-10 21:55:17 +03:00
Ariel Mashraki
3e87812087
address CR comments
2018-10-10 21:54:11 +03:00
Ariel Mashraki
b81346f9d3
linters/errcheck: add support for ignore/exclude flags
...
Add support for the exclude and ignore flags of errcheck.
Note that, this commit depends on golangci/errcheck#1 . We need
to merge it first, update vendors and only then merge this one.
2018-10-10 21:54:11 +03:00
Kishan B
59c3d20303
Add install.sh to the repo and update readme. Fixes #233
2018-10-03 23:28:30 +03:00
Michael
37a317939d
fix: update dockerfile to use golang 1.11
2018-10-03 23:26:22 +03:00
Sascha Grunert
8d4075ba6d
Update readme
2018-10-03 23:19:27 +03:00
Sascha Grunert
90b06c3b7d
Update REAMDE for ale-vim support
2018-10-03 23:19:27 +03:00
Denis Isaev
0c82b64123
return gosec default excludes: it's too annoying for users
2018-09-05 20:49:57 +03:00
Denis Isaev
dbfcf633d5
Issue #205 : support go modules
v1.10.2
2018-09-02 15:07:26 +03:00
Denis Isaev
0ef36f43d5
Prepare for #205 : use forked repos without aliases
2018-09-02 14:46:54 +03:00
Denis Isaev
be0bd9e1df
dev: don't run test on go1.9: they are running too long
2018-09-02 14:36:23 +03:00
Denis Isaev
8cef10eed6
#164 : update README
2018-09-02 09:34:35 +03:00
Denis Isaev
f93c2e0ab2
Fix #164 : update GAS to the latest gosec
2018-09-02 09:34:35 +03:00
Denis Isaev
8a478c47ac
Prepare for #164 : rename GAS to gosec
...
1. Rename in a backward compatible way
2. Remove gosec default exclude list because gosec is already disabled
by default.
3. Warn about unmatched linter names in //nolint directives
4. Process linter names in //nolint directives in upper case
5. Disable gosec for golangci-lint in .golangci.yml
2018-09-02 09:34:35 +03:00
Denis Isaev
47440bc2cc
don't print config parsing info logs twice
2018-09-02 09:34:35 +03:00
Denis Isaev
a24cc87a06
refactor lintersdb: split it into abstractions
2018-09-02 09:34:35 +03:00
Denis Isaev
c37ad6652e
Fix #206 : build golangci-lint on go1.11
v1.10.1
2018-08-27 23:29:13 +03:00
Denis Isaev
ec1208924a
add info about Spacemacs to README
2018-08-25 10:35:16 +03:00
Denis Isaev
284447fc07
prettify issue texts
2018-08-18 23:04:27 +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
Denis Isaev
f81283f38d
get build package from packages.Package for golangci/golangci#12
2018-08-18 11:33:18 +03:00
Denis Isaev
2db694a3ff
exit with the code 5 if no go files to analyze
2018-08-17 21:20:54 +03:00
Denis Isaev
a2b901227c
Close #196 : disable GAS (gosec) by default
v1.10
2018-08-12 22:27:04 +03:00
Denis Isaev
faa7599c95
Close #191 : fork Misspell and merge 3 pending PR-s into it
2018-08-09 21:30:35 +03:00
Denis Isaev
0262f00bfb
Fix #130 : update ineffassign: fix crash on break/continue outside of loop
2018-08-09 00:21:21 +03:00
Denis Isaev
b900926bfc
Fix #121 , fix #186 : remove --silent,-s flag: be silent by default
2018-08-08 23:55:01 +03:00