module.exports = {
'extends': 'stylelint-config-standard',
'ignoreFiles': ['**/*.json', '**/*.js', '**/*.jsx', '**/*.png', '**/*.jpg', '**/*.jpeg', '**/*.gif', '**/*.mp3'],
'rules': {
'at-rule-no-unknown': [ true, {
'ignoreAtRules': [
'extends',
'ignores'
]
}],
'selector-type-no-unknown': [true, {
'ignoreTypes': [
'page',
]
}],
'indentation': 4,
'number-leading-zero': null,
'unit-allowed-list': ['em', 'rem', 's', 'px', 'deg', 'all', 'vh', '%'],
'no-eol-whitespace': [true, { 'ignore': 'empty-lines' }],
'declaration-block-trailing-semicolon': 'always',
'no-missing-end-of-source-newline': true,
'selector-pseudo-class-no-unknown': [ true, {
ignorePseudoClasses: ['global']
}],
'no-descending-specificity': null,
'selector-list-comma-newline-after': 'always',
'selector-pseudo-element-colon-notation': 'single'
}
};
网友评论