File tree Expand file tree Collapse file tree 3 files changed +17
-3
lines changed
Expand file tree Collapse file tree 3 files changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -4,5 +4,19 @@ MinAlertLevel = suggestion
44
55Packages = RedHat
66
7+ [*]
8+ BasedOnStyles = Vale
9+ Vale.Spelling = NO
10+
711[*.md]
812BasedOnStyles = Vale, RedHat
13+
14+ # Overload everything that Redhat could report as errors
15+ RedHat.Abbreviations = warning # decrease from error to warning
16+ RedHat.CaseSensitiveTerms = warning # decrease from error to warning
17+ RedHat.Spacing = warning # decrease from error to warning
18+ RedHat.TermsErrors = warning # decrease from error to warning
19+
20+ RedHat.Headings = NO # disable errors on headings
21+ RedHat.PassiveVoice = NO # disable passive voice reporting
22+ RedHat.Spelling = NO # spelling errors are not reported
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ Source: https://github.com/ccoVeille/golangci-lint-config-examples/tree/main/02-
3737Blank import should be only in a main or test package, or have a comment justifying it.
3838
3939#### context-as-argument
40- context.Context() should be the first parameter of a function when provided as argument.
40+ ` context.Context() ` should be the first parameter of a function when provided as argument.
4141
4242#### context-keys-type
4343Basic types should not be used as a key in ` context.WithValue `
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ Source: [@ccoVeille](https://github.com/ccoVeille/golangci-lint-config-examples)
3737 check imports order and makes it always deterministic.
3838
3939### thelper
40- make sure to use t.Helper() when needed
40+ make sure to use ` t.Helper() ` when needed
4141
4242### mirror
4343 mirror suggests rewrites to avoid unnecessary [ ] byte/string conversion
@@ -59,7 +59,7 @@ Checks for duplicate words in the source code.
5959Blank import should be only in a main or test package, or have a comment justifying it.
6060
6161#### context-as-argument
62- context.Context() should be the first parameter of a function when provided as argument.
62+ ` context.Context() ` should be the first parameter of a function when provided as argument.
6363
6464#### context-keys-type
6565Basic types should not be used as a key in ` context.WithValue `
You can’t perform that action at this time.
0 commit comments