@col0ring/stylelint-config
v0.0.9
Published
Col0ring's Stylelint Config Presets
Downloads
5
Maintainers
Readme
@col0ring/stylelint-config
Col0ring's Stylelint Config Presets.
Install
npm install stylelint @col0ring/stylelint-config -D
# or
yarn add stylelint @col0ring/stylelint-config -D
Usage
// stylelint.config.js
module.exports = {
extends: ['@col0ring/stylelint-config'],
}
If you need a separate configuration:
// stylelint.config.js
module.exports = {
// css less
extends: [
'@col0ring/stylelint-config/basic',
'@col0ring/stylelint-config/less',
],
}
This config has built-in prettier, you need to create a prettier.config.js file and set the following configuration:
// prettier.config.js
module.exports = require('@col0ring/prettier-config')()
See More: @col0ring/prettier-config