Skip to content

Latest commit

 

History

History
58 lines (45 loc) · 910 Bytes

File metadata and controls

58 lines (45 loc) · 910 Bytes

no-duplicate-at-import-rules

Disallow duplicate @import rules.

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

The message secondary option can accept the arguments of this rule.

Options

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;