@infinumrails/stylelint-config-scss

0.1.1 • Public • Published

stylelint-config-scss

Shareable config for linting SCSS with Stylelint.

Setup

Add stylelint, postcss and @infinumrails/stylelint-config-scss to your (dev) dependencies:

yarn add --dev stylelint postcss @infinumrails/stylelint-config-scss

Add the following to package.json:

{
  "scripts": {
    "lint-css": "stylelint"
  },
  "stylelint": {
    "extends": "@infinumrails/stylelint-config-scss"
  }
}

Run yarn lint-css [directory] to lint (S)CSS code.
Run yarn lint-css --fix [directory] to automatically fix found offenses.

Readme

Keywords

none

Package Sidebar

Install

npm i @infinumrails/stylelint-config-scss

Weekly Downloads

10

Version

0.1.1

License

MIT

Unpacked Size

2.6 kB

Total Files

5

Last publish

Collaborators

  • anamarijabalaban
  • lovro-bikic
  • infinumcom