- Notifications
You must be signed in to change notification settings - Fork 11
New rule: unnecessary-default-recommendations #588
Copy link
Copy link
Open
Labels
new lintIssues suggesting new lints or pull requests implementing new lintsIssues suggesting new lints or pull requests implementing new lintstestingTests and testing toolsTests and testing tools
Description
Activity
Metadata
Metadata
Assignees
Labels
new lintIssues suggesting new lints or pull requests implementing new lintsIssues suggesting new lints or pull requests implementing new lintstestingTests and testing toolsTests and testing tools
Rule summary
In
#lang resyntax/test, the default behavior when no refactoring suite is specified withrequire:is to usedefault-recommendations. Therefore, a test file whose onlyrequire:statement isrequire: resyntax/default-recommendations default-recommendationscan be omitted.Test case
No-change test case
Additional context
This relies on #587. The test cases above use the code block syntax proposed in that issue.