golangci-lint/pkg/result/processors
Ryan Currah fa7adcbda9
add ability to set issue severity (#1155)
* add ability to set issue severity for out formats that support it based on severity rules

* fix lint issues

* change log child name

* code climate omit severity if empty

* add tests for severity rules, add support for case sensitive rules, fix lint issues, better doc comments, share processor test

* deduplicated rule logic into a base rule that can be used by multiple rule types, moved severity config to it's own parent key named severity, reduced size of NewRunner function to make it easier to read

* put validate function under base rule struct

* better validation error wording

* add Fingerprint and Description methods to Issue struct, made codeclimate reporter easier to read, checkstyle output is now pretty printed
2020-05-25 08:21:42 -04:00
..
testdata add ability to set issue severity (#1155) 2020-05-25 08:21:42 -04:00
autogenerated_exclude.go Add linter for nolint 2020-04-26 20:20:17 -07:00
autogenerated_exclude_test.go Fix autogen exclude for comments under package (#831) 2019-10-22 09:49:47 +03:00
base_rule.go add ability to set issue severity (#1155) 2020-05-25 08:21:42 -04:00
cgo.go Speed up packages loading (#693) 2019-09-14 18:48:18 +03:00
diff.go Fix #209: support goimports.local-prefix option for goimports 2018-10-28 18:47:56 +03:00
exclude.go Ensuring interface implementation 2020-04-23 09:32:55 +02:00
exclude_rules.go add ability to set issue severity (#1155) 2020-05-25 08:21:42 -04:00
exclude_rules_test.go add ability to set issue severity (#1155) 2020-05-25 08:21:42 -04:00
exclude_test.go add ability to set issue severity (#1155) 2020-05-25 08:21:42 -04:00
filename_unadjuster.go reduce 1.5x memory usage on large repos on repeated runs (#764) 2019-10-01 14:52:00 +03:00
fixer.go Merge branch 'master' into asb/nolintlint-internal 2020-04-29 15:27:35 -07:00
identifier_marker.go Use the newest go vet 2019-03-17 23:12:44 +03:00
identifier_marker_test.go Fix #388: include staticcheck check name into a message 2019-02-17 23:50:11 +03:00
max_from_linter.go fix #522: run misspell in text mode 2019-06-09 20:14:19 +03:00
max_from_linter_test.go Implement auto-fixing for gofmt,goimports,misspell 2019-02-17 20:31:31 +03:00
max_per_file_from_linter.go Add linter for nolint 2020-04-26 20:20:17 -07:00
max_per_file_from_linter_test.go Implement auto-fixing for gofmt,goimports,misspell 2019-02-17 20:31:31 +03:00
max_same_issues.go Group imports by package. 2019-10-01 18:09:47 -04:00
max_same_issues_test.go Implement auto-fixing for gofmt,goimports,misspell 2019-02-17 20:31:31 +03:00
nolint.go speed up a bit (#1064) 2020-05-05 18:45:19 +03:00
nolint_test.go Fix up nolintlint comments and urls (#1164) 2020-05-24 10:08:14 +03:00
path_prettifier.go Fix #126: fix working with symlinks 2018-07-29 22:45:35 +03:00
path_shortener.go Fix #237, fix #178: use go/packages 2018-10-28 17:55:15 +03:00
processor.go Group imports by package. 2019-10-01 18:09:47 -04:00
processor_test.go add ability to set issue severity (#1155) 2020-05-25 08:21:42 -04:00
severity_rules.go add ability to set issue severity (#1155) 2020-05-25 08:21:42 -04:00
severity_rules_test.go add ability to set issue severity (#1155) 2020-05-25 08:21:42 -04:00
skip_dirs.go dev: use golangci-lint action (#1066) 2020-05-05 17:51:55 +03:00
skip_files.go dev: use golangci-lint action (#1066) 2020-05-05 17:51:55 +03:00
skip_files_test.go Fix #209: support goimports.local-prefix option for goimports 2018-10-28 18:47:56 +03:00
source_code.go Use the newest go vet 2019-03-17 23:12:44 +03:00
uniq_by_line.go make uniq by line configurable (#920) 2020-01-19 16:49:46 +03:00
uniq_by_line_test.go make uniq by line configurable (#920) 2020-01-19 16:49:46 +03:00
utils.go dev: use golangci-lint action (#1066) 2020-05-05 17:51:55 +03:00