Tim Heckman
60fd647987
Update gosec linter to v2; add .test files to .gitignore ( #1062 )
...
This change updates the `gosec` linter to its v2 version. It seems like v2
maintained API compatibility for the functionality we use, so we only needed to
update the dependency and imports.
Please note, this does not use a tagged version of `gosec` and instead is the
latest `master` commit due to this issue: https://github.com/securego/gosec/issues/470 .
Once this issue is resolved we should update `gosec` to a tagged release.
This also adds a line to the `.gitignore` file, to ignore the `.test` output
files that get generated by `go test`. This could accidentally get left behind,
so no use committing binary files.
Fixes #1052
2020-05-03 14:05:00 +03:00
Isaev Denis
02a4077af9
docs: add issues.include param to .golangci.example.yml ( #1061 )
2020-05-02 18:12:46 +03:00
Isaev Denis
e7e2b9e7e5
dev: don't run CI on go.12 ( #1060 )
...
Also, update node.js version for CI
2020-05-02 18:08:15 +03:00
Isaev Denis
d95671cc1b
docs: add exclude-case-sensitive to .golangci.example.yml ( #1058 )
2020-05-02 17:57:30 +03:00
Isaev Denis
b5617209b4
dev: update js deps ( #1059 )
...
Fix js security issues by:
cd tools && npm install && npm audit fix
2020-05-02 17:56:47 +03:00
Aleksandr Razumov
ca9a53c7f8
Merge pull request #1057 from tetafro/master
...
Update godot linter
2020-05-02 14:02:59 +03:00
Denis Krivak
ca853d1515
Fix readme
2020-05-02 12:30:41 +03:00
Denis Krivak
7fe9a44fc7
Fix indentetion issue in godot linter
2020-05-02 12:25:59 +03:00
Aleksandr Razumov
1b9f29a304
dev: update changelog
2020-05-01 18:20:37 +03:00
Aleksandr Razumov
6bd10d01fd
dev: prepare v1.26.0
...
GIT_TAG=v1.26.0 make README.md
v1.26.0
2020-05-01 18:17:09 +03:00
Aleksandr Razumov
49b3993cc9
Merge pull request #1050 from tetafro/master
...
Update godot linter
2020-04-30 03:22:00 +03:00
Aleksandr Razumov
eeff3902d4
Merge pull request #837 from ashanbrown/asb/nolintlint-internal
...
Add nolintlint linter as internal linter
2020-04-30 03:20:28 +03:00
Andrew Shannon Brown
ef44e11e17
Merge branch 'master' into asb/nolintlint-internal
2020-04-29 15:27:35 -07:00
Denis Krivak
7f4a711ce6
Update godot linter.
2020-04-29 20:27:23 +03:00
Aleksandr Razumov
224515a9ab
dev: generate readme
2020-04-28 01:09:05 +03:00
Aleksandr Razumov
5db67a5564
Merge pull request #1019 from tdakkota/feature/add-go-err13-support
...
Add go-err113 linter support
2020-04-28 01:08:26 +03:00
tdakkota
0d95fafefc
feat: add go-err113 linter support
2020-04-27 21:37:34 +03:00
Aleksandr Razumov
07374ce09b
dev: prepare v1.25.1
...
GIT_TAG=v1.25.1 make README.md
v1.25.1
2020-04-27 20:32:42 +03:00
Aleksandr Razumov
c0618b0593
Merge pull request #1049 from golangci/unused-fix-mode
...
Fix unused in "fix" mode
2020-04-27 20:18:54 +03:00
Aleksandr Razumov
56f2b7d59d
fixer: add warning about possible line range issue
2020-04-27 20:11:42 +03:00
Aleksandr Razumov
3deb9d80ab
unused: check line range before suggesting fix
...
Fix #1048
2020-04-27 19:59:38 +03:00
Aleksandr Razumov
1353b60074
test: add unused testdata for fix
2020-04-27 19:19:12 +03:00
Aleksandr Razumov
c4e40f1968
readme: generate
2020-04-27 13:23:58 +03:00
Aleksandr Razumov
d90ec7361d
Merge branch 'rung-upgrade-gosec'
2020-04-27 13:11:28 +03:00
Aleksandr Razumov
397a6a6732
Merge branch 'upgrade-gosec' of https://github.com/rung/golangci-lint into rung-upgrade-gosec
2020-04-27 13:07:03 +03:00
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
Aleksandr Razumov
4a3e9fd2bb
Merge pull request #1045 from JohnStarich/feature/include-excludes
...
Re-enable default excludes by ID
2020-04-26 00:31:01 +03:00
John Starich
36d8d881f9
Preserve API backward compatibility
2020-04-25 14:14:42 -05:00
John Starich
15c75690fc
Re-generated README
2020-04-25 14:08:00 -05:00
John Starich
c55e7614d4
Re-enable default excludes by ID
2020-04-25 13:57:57 -05:00
Aleksandr Razumov
c25bf85999
readme: generate
2020-04-25 20:47:15 +03:00
Aleksandr Razumov
1373897abf
Merge branch 'tdakkota-feature/add-asciicheck-support'
2020-04-25 17:51:53 +03:00
Aleksandr Razumov
68ac3ca7e5
Merge pull request #1044 from ryancurrah/update-gomodguard
...
update gomodguard
2020-04-25 13:07:58 +03:00
Ryan Currah
569a19c2f0
update gomodguard
2020-04-24 23:02:38 -04:00
Aleksandr Razumov
e2b927f029
Merge pull request #1036 from iwankgb/exclude-case-sensitive
...
Adding case-sensitive exclude processor
2020-04-24 12:48:42 +03:00
Maciej "Iwan" Iwanowski
078f44f8aa
Getting rid of code duplication
...
Signed-off-by: Maciej "Iwan" Iwanowski <maciej.iwanowski@critical.today>
2020-04-23 18:37:40 +02:00
Maciej "Iwan" Iwanowski
f8137cf2aa
Updating generated files
...
Signed-off-by: Maciej "Iwan" Iwanowski <maciej.iwanowski@critical.today>
2020-04-23 09:39:49 +02:00
Maciej "Iwan" Iwanowski
794a464435
Improving flag help message
...
Signed-off-by: Maciej "Iwan" Iwanowski <maciej.iwanowski@critical.today>
2020-04-23 09:36:25 +02:00
Maciej "Iwan" Iwanowski
94f8d6aacb
Ensuring interface implementation
...
Signed-off-by: Maciej "Iwan" Iwanowski <maciej.iwanowski@critical.today>
2020-04-23 09:32:55 +02:00
Maciej "Iwan" Iwanowski
d7772f542b
Using ExcludeRulesProcessor
...
Signed-off-by: Maciej "Iwan" Iwanowski <maciej.iwanowski@critical.today>
2020-04-23 09:27:48 +02:00
Maciej "Iwan" Iwanowski
05138497f2
Adding case sensitive exclude rules support
...
Signed-off-by: Maciej "Iwan" Iwanowski <maciej.iwanowski@critical.today>
2020-04-23 09:23:37 +02:00
Aleksandr Razumov
0fb48ad5f5
readme: re-generate
2020-04-23 02:46:54 +03:00
Aleksandr Razumov
e3c0213cec
changelog: fix typo
2020-04-23 02:34:41 +03:00
Aleksandr Razumov
86931b76d6
changelog: update
2020-04-23 02:34:04 +03:00
Aleksandr Razumov
3082512524
dev: prepare release
...
GIT_TAG=v1.25.0 make README.md
v1.25.0
2020-04-23 01:53:28 +03:00
Aleksandr Razumov
839ce6906b
goreleaser: ignore unsupported platforms
2020-04-23 01:52:18 +03:00
Aleksandr Razumov
883305174d
make: add snapshot command
2020-04-23 01:40:32 +03:00
Aleksandr Razumov
fc8c4a32f9
tools: update goreleaser
2020-04-23 01:38:20 +03:00
Aleksandr Razumov
c252122af0
Merge pull request #1038 from golangci/downgrade-dominikh-go-tools
...
mod: downgrade honnef.co/go/tools to v2019.2.3
2020-04-23 01:22:45 +03:00
Aleksandr Razumov
6db0292426
mod: downgrade honnef.co/go/tools to v2019.2.3
...
Hotfix for `failed prerequisites` errors.
Actual cause is still unknown.
Revert: #987
Ref: #994 , #995 , #1011
2020-04-23 01:16:55 +03:00