2019.12.1 • Published 4 years ago

@inc/stylelint-config v2019.12.1

Weekly downloads
6
License
MIT
Repository
-
Last release
4 years ago

stylelint-config

INC

Stylelint configuration for !NC projects

Installation

$ npm i stylelint stylelint-order @inc/stylelint-config -D

Usage

.stylelintrc config

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

package.json config

{
  "name": "your_project",
  "scripts": {
    ...,
    "test:sass": "stylelint '**/*.scss'",
    ...
  }
}

If your script was called test:sass you could then run npm run test:sass and your Sass files would be linted.

License

MIT Copyright © 2019, Ideas Never Cease.