chore: enable exhaustruct linter for database param structs (#9995)

This commit is contained in:
Cian Johnston
2023-10-03 09:23:45 +01:00
committed by GitHub
parent 352ec7bc4f
commit e55c25e037
17 changed files with 186 additions and 116 deletions
+3
View File
@@ -10,6 +10,9 @@ linters-settings:
include:
# Gradually extend to cover more of the codebase.
- 'httpmw\.\w+'
# We want to enforce all values are specified when inserting or updating
# a database row. Ref: #9936
- 'github.com/coder/coder/v2/coderd/database\.[^G][^e][^t]\w+Params'
gocognit:
min-complexity: 300