Add a CI check for todo!
and FIXME
comments (#21950)
Motivation for this is to support writing comments that will certainly be revisited before merge. Release Notes: - N/A
This commit is contained in:
parent
e4493d60dc
commit
f3fc4d6279
15 changed files with 29 additions and 14 deletions
|
@ -147,7 +147,7 @@
|
|||
(#any-of? @variable "workspace")))
|
||||
|
||||
; Terraform specific keywords
|
||||
; FIXME: ideally only for identifiers under a `variable` block to minimize false positives
|
||||
; TODO: ideally only for identifiers under a `variable` block to minimize false positives
|
||||
((identifier) @type
|
||||
(#any-of? @type "bool" "string" "number" "object" "tuple" "list" "map" "set" "any"))
|
||||
|
||||
|
|
|
@ -147,7 +147,7 @@
|
|||
(#any-of? @variable "workspace")))
|
||||
|
||||
; Terraform specific keywords
|
||||
; FIXME: ideally only for identifiers under a `variable` block to minimize false positives
|
||||
; TODO: ideally only for identifiers under a `variable` block to minimize false positives
|
||||
((identifier) @type
|
||||
(#any-of? @type "bool" "string" "number" "object" "tuple" "list" "map" "set" "any"))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue