Add 'revive' linter setup

This commit is contained in:
Michael Hohn
2024-06-26 10:35:10 -07:00
committed by =Michael Hohn
parent b543cebfac
commit 62a7b227f0
2 changed files with 19 additions and 0 deletions

13
.revive.toml Normal file
View File

@@ -0,0 +1,13 @@
ignoreGeneratedHeader = true
[rule.blank-imports]
Arguments = [true]
[[rule]]
name = "max-public-identifier-length"
arguments = [15] # Maximum length for public identifiers
[[rule]]
name = "max-private-identifier-length"
arguments = [15] # Maximum length for private identifiers