@webb/config-stylelint
TypeScript icon, indicating that this package has built-in type declarations

2020.4.16 • Public • Published

@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'"

Readme

Keywords

none

Package Sidebar

Install

npm i @webb/config-stylelint

Weekly Downloads

2

Version

2020.4.16

License

MIT

Unpacked Size

29.6 kB

Total Files

5

Last publish

Collaborators

  • netoperatorwibby