Closed armsnyder closed 2 years ago
I can take a look at this.
For what its worth, Go comment directives should not contain the space by convention: https://github.com/golang/go/issues/43776
However since the previous comment ignore logic was automatically stripping the spaces prior to v0.28.0, I guess we should still support the syntax.
Thanks for the context re: directives 👍
v0.28.1 has been released
Community Note
tfproviderlint Version
Affected Check(s) or Function(s)
Affects the lintignore comment pass.
Expected Behavior
Expected existing
// lintignore: XXXXX // my description
comments (with a leading space and description) to function correctly and ignore issues on the subsequent lint after upgrading from v0.27.1 to v0.28.0Actual Behavior
// lintignore: XXXXX // my description
comments no longer suppress issues.