Skip to content

Latest commit

 

History

History

V007

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

V007

This terraform-plugin-sdk (v1) analyzer has been removed in tfproviderlint v0.30.0.

The V007 analyzer reports usage of the deprecated ValidateRegexp validation function that should be replaced with StringIsValidRegExp.

Flagged Code

ValidateFunc: validation.ValidateRegexp,

Passing Code

ValidateFunc: validation.StringIsValidRegExp,

Ignoring Reports

Singular reports can be ignored by adding the a //lintignore:V007 Go code comment at the end of the offending line or on the line immediately proceding, e.g.

//lintignore:V007
ValidateFunc: validation.ValidateRegexp,