-
-
Notifications
You must be signed in to change notification settings - Fork 24
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 @charset rule.
What type of rule is this?
Warns about a potential problem
Example code
a {}
@charset "utf-8";
Prior Art
I couldn't find a Stylelint equivalent, but VS Code's built-in linter reports this.
Participation
- I am willing to submit a pull request to implement this rule.
Additional comments
@charset
can only be placed at the very beginning of a stylesheet. No other characters, except the Unicode byte-order mark, are allowed before it.
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