Show More
Commit Commit message Age Author Refs
r2:8c79a2639c47
Upgraded deps
0
r1:83b0a41c766b
Updated deps and removed private registry
0
r0:03c0397c7974
Initial commit
0
< 1 >

@webb/config-stylelint

Opinionated Stylelint configuration

Install

# Install this module, with Stylelint and the Stylelint Order module
$ npm i @webb/config-stylelint stylelint stylelint-order -D

Usage

Add these lines to your .stylelintrc file:

{
  extends: "@webb/config-stylelint",
  plugins: [
    "stylelint-order"
  ]
}

In your scripts block in your package.json file:

// In this example, you may have a number of test scripts so your Sass
// one is namespaced. To call it, you just run "npm run test:sass" and
// your Sass files are linted! You can name your script w/e you want.
"test:sass": "stylelint '**/*.scss'"