4.0.2 • Published 8 months ago

@merkle-open/stylelint-config v4.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
8 months ago

Shared stylelint config npm

reusable stylelint config for stylelint 15

Usage

npm install --save-dev stylelint@15 @merkle-open/stylelint-config

stylelint.config.js

module.exports = require('@merkle-open/stylelint-config');

.stylelintignore

node_modules/
src/shared/base/reset/css/yui/reset.css

package.json

{
  "scripts": {
    "lint:css": "stylelint src/**/*.*ss"
  }
}

We recommend to use stylelint together with lint-staged and husky

npm install --save-dev husky lint-staged

package.json

{
  "scripts": {
    "lint:css": "stylelint src/**/*.*ss"
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged"
    }
  },
  "lint-staged": {
    "src/**/*.*ss": ["stylelint"]
  }
}

License

MIT License

4.0.2

8 months ago

4.0.1

11 months ago

4.0.0

1 year ago

3.2.0

2 years ago

3.1.0

2 years ago

3.0.0

2 years ago

2.1.0

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.0.0

3 years ago