Sha256: 505a380dcd7402d47a13b3c8c2305c8d6da216598a0701e22a23a7362e2e80ef
Contents?: true
Size: 814 Bytes
Versions: 24
Compression:
Stored size: 814 Bytes
Contents
# no-duplicate-at-import-rules Disallow duplicate `@import` rules within a stylesheet. <!-- prettier-ignore --> ```css @import "a.css"; @import "a.css"; /** ↑ * These are duplicates */ ``` ## Options ### `true` The following patterns are considered violations: <!-- prettier-ignore --> ```css @import 'a.css'; @import 'a.css'; ``` <!-- prettier-ignore --> ```css @import url("a.css"); @import url("a.css"); ``` <!-- prettier-ignore --> ```css @import "a.css"; @import 'a.css'; ``` <!-- prettier-ignore --> ```css @import "a.css"; @import 'b.css'; @import url(a.css); ``` The following patterns are _not_ considered violations: <!-- prettier-ignore --> ```css @import "a.css"; @import "b.css"; ``` <!-- prettier-ignore --> ```css @import url('a.css') projection; @import url('a.css') tv; ```
Version data entries
24 entries across 24 versions & 1 rubygems