no-duplicate-at-import-rules
Disallow duplicate @import rules.
@import "a.css"; @import "a.css";/** ↑ * These are duplicates */Use this rule to avoid importing a stylesheet more than once. Browsers apply it at each position, so a later copy can override the imports between them.
This rule supports 1 message argument: the duplicate URL.
Options
Section titled “Options”{ "no-duplicate-at-import-rules": true}The following patterns are considered problems:
@import 'a.css';@import 'a.css';@import url("a.css");@import url("a.css");@import "a.css";@import 'a.css';@import "a.css";@import 'b.css';@import url(a.css);The following patterns are not considered problems:
@import "a.css";@import "b.css";@import url('a.css') projection;@import url('a.css') tv;