@m2collective/npm-config-stylelint
v1.0.0
Published
Basic stylelint setting for optimizing styles.
Maintainers
Readme
NPM Config Stylelint
Basic StyleLint setting for optimizing styles.
Installation
This package can be deployed automatically using NPM:
npm i @m2collective/npm-config-stylelint --save-devUsage
Add the following commands to the package.json
{
"scripts": {
"lint:style": "stylelint \"**/*.{scss,pcss}\"",
"lint:style:fix": "stylelint \"**/*.{scss,pcss}\" --fix"
}
}Create a file stylelint.config.js with the following contents.
import defaultConfig from '@m2collective/npm-config-stylelint'
export default defaultConfigLicense
The MIT License (MIT). Please see the License file for more information.
