doiuse icon indicating copy to clipboard operation
doiuse copied to clipboard

Feature: Ignore rules covered by feature query

Open Dyljyn opened this issue 7 years ago • 0 comments

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 */
}

Dyljyn avatar Oct 27 '17 12:10 Dyljyn