You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the DSL allows for individual rule toggles, but auto-correct behavior is global. And the only rule which has a root-level "ignore" list is UnusedDependency with ignoreUnusedFinding.
Other findings have the same problem -- overshot, inheritedDependency, and mustBeApi especially. They should also have a global ignore list, but putting everything top-level in the DSL gets very noisy.
Another option would be to just go the route of a full .yaml config. But there aren't that many rules, and I don't know many people who actually like yaml.
The text was updated successfully, but these errors were encountered:
Currently, the DSL allows for individual rule toggles, but auto-correct behavior is global. And the only rule which has a root-level "ignore" list is
UnusedDependency
withignoreUnusedFinding
.Other findings have the same problem -- overshot,
inheritedDependency
, andmustBeApi
especially. They should also have a global ignore list, but putting everything top-level in the DSL gets very noisy.It might make sense to do something like this:
This can follow the standard conventions of extension DSLs, so that a more concise configuration is still possible:
Another option would be to just go the route of a full
.yaml
config. But there aren't that many rules, and I don't know many people who actually like yaml.The text was updated successfully, but these errors were encountered: