-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: bump actions versions and add revive config
- Loading branch information
Showing
3 changed files
with
26 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# When set to false, ignores files with "GENERATED" header, similar to golint | ||
ignoreGeneratedHeader = true | ||
|
||
# Sets the default severity to "warning" | ||
severity = "warning" | ||
|
||
# Sets the default failure confidence. This means that linting errors | ||
# with less than 0.8 confidence will be ignored. | ||
confidence = 0.8 | ||
|
||
# Sets the error code for failures with severity "error" | ||
errorCode = 0 | ||
|
||
# Sets the error code for failures with severity "warning" | ||
warningCode = 0 | ||
|
||
# Configuration of the `cyclomatic` rule. Here we specify that | ||
# the rule should fail if it detects code with higher complexity than 10. | ||
[rule.cyclomatic] | ||
arguments = [10] | ||
|
||
# Sets the severity of the `package-comments` rule to "error". | ||
[rule.package-comments] | ||
severity = "error" |