My Stylelint configuration preset.
npm install --save-dev @cyansalt/stylelint-config
// stylelint.config.js
import config from '@cyansalt/stylelint-config'
export default {
overrides: config(),
}
// stylelint.config.js
import config from '@cyansalt/stylelint-config'
export default {
overrides: config({
// Whether to enable SCSS rules.
// It will be enabled when `sass` or `sass-embedded` is installed in the project by default.
scss: true,
}),
}