Skip to content

Latest commit

 

History

History
49 lines (37 loc) · 639 Bytes

File metadata and controls

49 lines (37 loc) · 639 Bytes

no-duplicate-at-import-rules

Disallow duplicate @import rules within a stylesheet.

    @import "a.css";
    @import "a.css";
/** ↑
 * These are duplicates */

Options

true

The following patterns are considered violations:

@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 violations:

@import "a.css";
@import "b.css";
@import url('a.css') projection;
@import url('a.css') tv;