You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
3 years ago | |
---|---|---|
.yarn/releases | 3 years ago | |
src | 3 years ago | |
.babelrc | 3 years ago | |
.gitignore | 3 years ago | |
.yarnrc.yml | 3 years ago | |
COPYING | 3 years ago | |
README.md | 3 years ago | |
package.json | 3 years ago | |
yarn.lock | 3 years ago |
README.md
parcel-validator-stylelint
A Parcel 2 validator plugin for Stylelint.
Usage
- Install the plugin package (
parcel-validator-stylelint
) - Add enable this plugin in your .parcelrc (if you didn't have a .parcelrc, also install
@parcel/config-default
):
{
"extends": "@parcel/config-default",
"validators": {
"*.css": ["parcel-validator-stylelint"]
}
}
Known issues
Warning highlight locations
Stylelint doesn't provide any information on where the broken places stop, so this plugin simply assumes that it's the end of the line. Sometimes it's not, but that's the best I can do without doing any additional CSS parsing.
@parcel/
package scope
Having this package under the @parcel/
package scope would require incorporating it into Parcel's repository, and I don't want to do that yet.