Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 567 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 567 Bytes

R007

The R007 analyzer reports usage of the deprecated (helper/schema.ResourceData).Partial() function that does not need replacement.

Flagged Code

d.Partial(true),

Passing Code

// Not present :)

Ignoring Reports

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

//lintignore:R007
d.Partial(true),