☃ Elliot Shepherd
c88df8f473
Fix nil pointer in codeclimate.go ( #1077 )
...
Some issues don't have any source lines
2020-05-11 22:10:39 +03:00
ced42
7526c8d347
Add tests, failures and errors attributes on testsuites ( #1072 )
2020-05-07 17:05:10 +03:00
Viktoras Makauskas
b7dada2249
slight cleanup
2020-04-11 00:41:24 +03:00
Viktoras
69a4e811d7
Update pkg/printers/github.go
...
Co-Authored-By: Bot from GolangCI <42910462+golangcibot@users.noreply.github.com>
2020-04-11 00:12:29 +03:00
Viktoras Makauskas
276e0d1e3b
Fixing linter issues
2020-04-11 00:11:37 +03:00
Viktoras
da4a14d827
Update pkg/printers/github.go
...
Co-Authored-By: Bot from GolangCI <42910462+golangcibot@users.noreply.github.com>
2020-04-11 00:02:35 +03:00
Viktoras Makauskas
ee2c62132c
Fixing linter issues
2020-04-10 23:59:07 +03:00
Viktoras Makauskas
d7222c7d38
Adding github actions output format
2020-04-10 23:46:19 +03: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
fd997edeeb
Cleanup nolint directives. ( #779 )
2019-10-03 19:34:19 +03:00
Isaev Denis
95ec0cf21e
dramatically reduce memory usage ( #758 )
...
Run all linters per package. It allows unloading package data when it's
processed. It dramatically reduces memory (and CPU because of GC) usage.
Relates: #337
2019-09-30 16:19:41 +03:00
Glen Mailer
97fcafd38c
Update format of junit xml output to mark failures as such ( #632 )
2019-09-10 11:21:08 +03:00
Sonia Hamilton
5c86bfc905
junit-xml output
2019-06-09 13:23:17 +03:00
Elliot Shepherd
186fe37bf8
add code-climate output format
...
Just the minimum of the format, to support GitLab CI Code Quality - https://docs.gitlab.com/ee/user/project/merge_requests/code_quality.html
2019-02-11 14:26:26 +08:00
Denis Isaev
84c9c65f39
fix #243 : support Scopelint linter
2018-11-06 08:11:25 +03:00
Denis Isaev
8fceb7fc47
Fix #209 : support goimports.local-prefix option for goimports
2018-10-28 18:47:56 +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
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
b900926bfc
Fix #121 , fix #186 : remove --silent,-s flag: be silent by default
2018-08-08 23:55:01 +03:00
Denis Isaev
1a9af12d6d
Fix #96 : support lll
2018-06-28 23:03:11 +03:00
Denis Isaev
fb38e51c83
add all warnings and error to json if out-format=json
2018-06-24 11:29:41 +03:00
Henrik Johansson
f239b80ce1
disable the congrats message
...
There is now an extra switch '-s' to disable the congrats message when
there are no issues detected
Fixes : #110
2018-06-17 00:17:48 +03:00
Denis Isaev
9fa9e2b3f8
Fix #106 : fix transitive expanding of nolint: we could nolint more lines than needed
2018-06-16 10:56:58 +03:00
Denis Isaev
9181ca7175
Fix #78 : log all warnings
...
1. Log all warnings, don't hide none of them
2. Write fatal messages (stop analysis) with error log level
3. Remove ugly timestamp counter from logrus output
4. Print nested module prefix in log
5. Make logger abstraction: no global logging anymore
6. Refactor config reading to config.FileReader struct to avoid passing
logger into every function
7. Replace exit codes hardcoding with constants in exitcodes package
8. Fail test if any warning was logged
9. Fix calculation of relative path if we analyze parent dir ../
10. Move Runner initialization from Executor to NewRunner func
11. Log every AST parsing error
12. Properly print used config file path in verbose mode
13. Print package files if only 1 package is analyzedin verbose mode,
print not compiling packages in verbose mode
14. Forbid usage of github.com/sirupsen/logrus by DepGuard linter
15. Add default ignore pattern to folint: "comment on exported const"
2018-06-14 23:09:04 +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
Denis Isaev
f62d607410
#37 : add tab output format: --out-format=tab
2018-06-02 21:01:09 +03:00
golangci
0a111acaab
refactor and don't print congrats if timeouted
2018-06-02 00:30:39 +03:00
golangci
eea1b93967
#14 : support color output on windows
2018-05-27 08:53:55 +03:00
golangci
b361146df8
#12 : add TypeCheck linter to report compilation errors
2018-05-26 20:02:26 +03:00
golangci
17c05c062b
add column of issue line; disable welcome message by default
2018-05-26 09:48:16 +03:00
golangci
cdc1251fc0
optimize linters scheduling: run slow linters first
2018-05-19 16:20:43 +03:00
golangci
f6b2d368a0
started README
2018-05-15 09:07:27 +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
6f384926cf
fixes
2018-05-08 13:33:00 +03:00
golangci
5dc876c260
pretty printing issues
2018-05-08 11:54:30 +03:00