-
-
Notifications
You must be signed in to change notification settings - Fork 26
Open
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 inclusionenhancementNew feature or requestNew feature or request
Description
What rule do you want to change?
no-invalid-at-rules
What change do you want to make?
Generate more warnings
How do you think the change should be implemented?
A new default behavior
Example code
@charset 'iso-8859-15'; /* Invalid: single quotes */
@charset "UTF-8"; /* Invalid: two spaces */
What does the rule currently do for this code?
Currently, the rule only checks if the prelude is a <string>
, so both @charset 'iso-8859-15';
and @charset "UTF-8";
are not reported as errors.
What will the rule do after it's changed?
After the change, the rule will report an error for any @charset
that:
- Does not use double quotes for the encoding,
- Does not have exactly one space after
@charset
, - Is not immediately terminated with a semicolon.
Participation
- I am willing to submit a pull request to implement this change.
Additional comments
No response
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 inclusionenhancementNew feature or requestNew feature or request
Type
Projects
Status
Implementing