chore: update stylelint config

This commit is contained in:
pengzhanbo 2025-02-01 00:51:30 +08:00
parent a40d5b49f2
commit 6a8ba55bbf

View File

@ -2,16 +2,9 @@ import { stylelintConfig } from '@pengzhanbo/stylelint-config'
export default stylelintConfig({ export default stylelintConfig({
rules: { rules: {
'selector-pseudo-element-no-unknown': [true, {
ignorePseudoElements: ['input-placeholder'],
}],
// 'no-descending-specificity': null,
'custom-property-empty-line-before': null, 'custom-property-empty-line-before': null,
'property-no-vendor-prefix': null, 'property-no-vendor-prefix': null,
'selector-no-vendor-prefix': null, 'selector-no-vendor-prefix': null,
'property-no-unknown': [true, {
ignoreProperties: ['r', 'font-named-instance'],
}],
'declaration-block-no-redundant-longhand-properties': [true, { 'declaration-block-no-redundant-longhand-properties': [true, {
ignoreShorthands: ['inset'], ignoreShorthands: ['inset'],
}], }],