Open a14n opened 7 years ago
Alternatively, we should warn about incompatibilities.
Maybe we could piggy-back on the proposal to generally validation options (https://github.com/dart-lang/sdk/issues/29317)?
This is common practice in our current lint rules (unless I'm super mistaken). It might just be that some older ones like prefer_asserts_in_initializer_list
and maybe UI-as-code and set literals need support.
For instance
prefer_asserts_in_initializer_list
needs langage supportenableAssertInitializer
.Those lints should be auto-disable if the context isn't configured to support the specific langage experimentation.