anandthakker / doiuse

:bomb: Lint CSS for browser support against caniuse database.
MIT License
1.24k stars 51 forks source link

Feature: Ignore rules covered by feature query #78

Open Dyljyn opened 6 years ago

Dyljyn commented 6 years ago

I would love for the linter to ignore CSS rules that are covered already by feature queries, instead of having to ignore them manually, like this:

@supports (position: sticky) {
  /* doiuse-disable css-sticky */
  .mti-sticky {
    position: sticky;
  }
  /* doiuse-enable css-sticky */
}