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.
 
overlisted 13218e8dfc
new version
3 years ago
.yarn/releases TAIL 3 years ago
src fix package name 3 years ago
.babelrc TAIL 3 years ago
.gitignore TAIL 3 years ago
.yarnrc.yml TAIL 3 years ago
COPYING TAIL 3 years ago
README.md add a short known issues list 3 years ago
package.json new version 3 years ago
yarn.lock leave the @parcel npm scope 3 years ago

README.md

parcel-validator-stylelint

A Parcel 2 validator plugin for Stylelint.

Usage

  1. Install the plugin package (parcel-validator-stylelint)
  2. 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.