-
-
Notifications
You must be signed in to change notification settings - Fork 33
Closed
Labels
acceptedThere is consensus among the team that this change meets the criteria for inclusionThere is consensus among the team that this change meets the criteria for inclusionfeature
Description
Rule details
Disallow invalid placement of @import rules.
What type of rule is this?
Warns about a potential problem
Example code
a {}
@import 'foo.css';Participation
- I am willing to submit a pull request to implement this rule.
Additional comments
@import rules must precede all other valid at-rules and style rules in a stylesheet (ignoring @charset and @layer), or else the @import rule is invalid.
Prior Art:
https://stylelint.io/user-guide/rules/no-invalid-position-at-import-rule/
Metadata
Metadata
Assignees
Labels
acceptedThere is consensus among the team that this change meets the criteria for inclusionThere is consensus among the team that this change meets the criteria for inclusionfeature
Type
Projects
Status
Complete