1.1.0 • Published 10 months ago

@lintkit/stylelint-config v1.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
10 months ago

LintKit: Stylelint Config

Installation

Install the dependency

npm i --dev @lintkit/stylelint-config --save

Add the cache file to your .gitignore

# Linting
.cache

Add the scripts to your package.json

"scripts": {
    "stylelint:dry-run": "stylelint app/**/*.scss --color --cache --config node_modules/@lintkit/stylelint-config/stylelint.config.mjs --ignore-path node_modules/@lintkit/stylelint-config/.stylelintignore --cache-location .cache/ --cache-strategy content",
    "stylelint:fix": "npm run stylelint:dry-run -- --fix",
}