Skip to content

Instantly share code, notes, and snippets.



Last active Apr 29, 2019
What would you like to do?
Stylelint configuration for Sage theme
module.exports = {
'extends': 'stylelint-config-standard',
'rules': {
'no-empty-source': null,
'at-rule-no-unknown': [
'ignoreAtRules': [
'at-rule-empty-line-before': [
except: [
ignore: ['after-comment'],
ignoreAtRules: ['include']
'font-family-name-quotes': 'always-unless-keyword',
'function-url-quotes': 'always',
'selector-attribute-quotes': 'always',
'string-quotes': 'double',
'at-rule-no-vendor-prefix': true,
'media-feature-name-no-vendor-prefix': true,
'property-no-vendor-prefix': true,
'selector-no-vendor-prefix': true,
'value-no-vendor-prefix': true,
'max-nesting-depth': [
'ignore': [
'selector-max-compound-selectors': 5,
'max-line-length': 80,
npm install --save-dev stylelint@9.10.1

This comment has been minimized.

Copy link
Owner Author

@nunof07 nunof07 commented Apr 5, 2019

Update stylelint package to the latest version first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment