squawk icon indicating copy to clipboard operation
squawk copied to clipboard

Allow to exclude all rules that break clients

Open kudrevatykh opened this issue 2 years ago • 2 comments

There are a lot of rules that helps not to break existing clients. For example ban-drop-not-null and ban-drop-table It whould be nice if user can exclude all such rules with one option and leave only rules that cause exlusive locks and data rewrite.

kudrevatykh avatar Sep 15 '23 10:09 kudrevatykh

We could add another value to the —exclude option, like: backwards-compatibility, locking, schema-style

For the documentation website we already define groups like this with tags: https://github.com/sbdchd/squawk/blob/99e93139f430deebc703d0123d398d25fa946550/docs/src/pages/index.js#L105

We could also add a new flag to be more explicit, like —-exclude-group

chdsbd avatar Sep 16 '23 03:09 chdsbd

Would it make sense to have an include option as well to specify including only a subset of rules? That is what we'd be interested in at the moment (include all the rules that would guarantee FORWARD compatibility).

alper avatar Jul 15 '24 10:07 alper