2017-05-30 19:14:24 +02:00
|
|
|
module.exports = {
|
|
|
|
'extends': 'stylelint-config-standard',
|
|
|
|
'rules': {
|
|
|
|
'indentation': 4,
|
|
|
|
'string-quotes': 'single',
|
|
|
|
'no-duplicate-selectors': true,
|
|
|
|
'color-hex-case': 'lower',
|
|
|
|
'color-hex-length': 'short',
|
|
|
|
'color-named': 'never',
|
|
|
|
'selector-no-qualifying-type': true,
|
|
|
|
'selector-combinator-space-after': 'always',
|
|
|
|
'selector-attribute-quotes': 'always',
|
|
|
|
'selector-attribute-operator-space-before': 'never',
|
|
|
|
'selector-attribute-operator-space-after': 'never',
|
|
|
|
'selector-attribute-brackets-space-inside': 'never',
|
|
|
|
'declaration-block-trailing-semicolon': 'always',
|
2017-05-31 00:22:58 +02:00
|
|
|
'declaration-empty-line-before': 'never',
|
2017-05-30 19:14:24 +02:00
|
|
|
'declaration-no-important': true,
|
|
|
|
'declaration-colon-space-before': 'never',
|
|
|
|
'declaration-colon-space-after': 'always',
|
|
|
|
'number-leading-zero': 'never',
|
|
|
|
'function-url-quotes': 'always',
|
|
|
|
'font-weight-notation': 'numeric',
|
|
|
|
'font-family-name-quotes': 'always-where-recommended',
|
|
|
|
'comment-whitespace-inside': 'always',
|
|
|
|
'comment-empty-line-before': 'always',
|
|
|
|
'selector-pseudo-element-colon-notation': 'single',
|
|
|
|
'selector-pseudo-class-parentheses-space-inside': 'never',
|
|
|
|
'media-feature-range-operator-space-before': 'always',
|
|
|
|
'media-feature-range-operator-space-after': 'always',
|
|
|
|
'media-feature-parentheses-space-inside': 'never',
|
|
|
|
'media-feature-colon-space-before': 'never',
|
2017-05-30 23:29:33 +02:00
|
|
|
'media-feature-colon-space-after': 'always',
|
|
|
|
'media-feature-name-no-vendor-prefix': true,
|
|
|
|
'at-rule-no-vendor-prefix': true,
|
|
|
|
'property-no-vendor-prefix': true,
|
|
|
|
'selector-no-vendor-prefix': true,
|
2017-05-30 23:49:15 +02:00
|
|
|
'value-no-vendor-prefix': true,
|
|
|
|
'max-nesting-depth': 3,
|
2017-05-31 00:22:58 +02:00
|
|
|
'selector-max-compound-selectors': 3,
|
2017-07-18 13:11:41 +02:00
|
|
|
'max-empty-lines': 2,
|
2017-07-18 13:31:33 +02:00
|
|
|
'selector-max-id': 0,
|
2017-07-18 13:48:42 +02:00
|
|
|
'at-rule-no-unknown': [true, {
|
2017-07-18 14:07:52 +02:00
|
|
|
'ignoreAtRules': ['extend', 'include', 'mixin']
|
2017-07-18 13:48:42 +02:00
|
|
|
}]
|
2017-05-30 19:14:24 +02:00
|
|
|
}
|
|
|
|
}
|