1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-02-13 12:00:08 +08:00
1Panel/frontend/.stylelintrc.js

42 lines
1.2 KiB
Go
Raw Normal View History

2022-08-16 23:30:23 +08:00
// @see: https://stylelint.io
module.exports = {
extends: [
2025-02-08 16:41:27 +08:00
'stylelint-config-standard',
'stylelint-config-html/vue',
'stylelint-config-standard-scss',
'stylelint-config-recommended-vue/scss',
'stylelint-config-recess-order',
'stylelint-config-prettier',
2022-08-16 23:30:23 +08:00
],
overrides: [
{
files: ['**/*.{vue,html}'],
customSyntax: 'postcss-html',
},
],
rules: {
2025-02-08 16:41:27 +08:00
'no-descending-specificity': null,
'function-url-quotes': 'always',
'string-quotes': 'double',
'unit-case': null,
'color-hex-case': 'lower',
'color-hex-length': 'long',
'rule-empty-line-before': 'never',
'font-family-no-missing-generic-family-keyword': null,
'block-opening-brace-space-before': 'always',
'property-no-unknown': null,
'no-empty-source': null,
'declaration-block-trailing-semicolon': null,
'selector-class-pattern': null,
'scss/at-import-partial-extension': null,
'value-no-vendor-prefix': null,
2022-08-16 23:30:23 +08:00
'selector-pseudo-class-no-unknown': [
true,
{
ignorePseudoClasses: ['global', 'v-deep', 'deep'],
},
],
},
};