PPTist/.stylelintrc.js

33 lines
1.2 KiB
JavaScript
Raw Normal View History

2020-12-10 22:40:15 +08:00
module.exports = {
extends: 'stylelint-config-standard',
rules: {
'at-rule-empty-line-before': null,
'rule-empty-line-before': null,
'no-missing-end-of-source-newline': null,
'selector-list-comma-newline-after': null,
'font-family-no-missing-generic-family-keyword': null,
'no-descending-specificity': null,
'number-leading-zero': null,
'at-rule-no-unknown': null,
'max-empty-lines': null,
'selector-pseudo-element-no-unknown': null,
'color-hex-case': 'lower',
'color-hex-length': 'short',
'color-no-invalid-hex': true,
'font-weight-notation': 'numeric',
'function-calc-no-unspaced-operator': true,
'function-url-quotes': 'never',
'string-no-newline': true,
'string-quotes': 'single',
'block-no-empty': true,
'block-opening-brace-newline-after': 'always',
'block-opening-brace-space-before': 'always',
'indentation': 2,
'max-nesting-depth': 5,
'no-eol-whitespace': true,
'declaration-block-no-duplicate-properties': true,
'declaration-block-semicolon-newline-after': 'always',
'declaration-block-trailing-semicolon': 'always',
'selector-pseudo-element-colon-notation': 'double',
2020-12-11 10:47:53 +08:00
},
2020-12-10 22:40:15 +08:00
}