-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathstylelint.config.js
More file actions
23 lines (23 loc) · 1.03 KB
/
stylelint.config.js
File metadata and controls
23 lines (23 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
module.exports = {
extends: 'stylelint-config-sass-guidelines',
plugins: ['stylelint-order'],
rules: {
'order/order': ['custom-properties', 'declarations'],
'selector-class-pattern': null,
'selector-no-qualifying-type': [true, { ignore: ['attribute', 'class'] }],
'max-nesting-depth': 3, // Increased from default 1 to allow existing code
'declaration-property-value-disallowed-list': null, // Allow border: none
// Disable all @stylistic rules to prevent formatting changes
'@stylistic/indentation': null,
'@stylistic/block-opening-brace-space-before': null,
'@stylistic/declaration-block-trailing-semicolon': null,
'@stylistic/declaration-block-semicolon-newline-after': null,
'@stylistic/number-leading-zero': null,
'@stylistic/declaration-colon-space-after': null,
'@stylistic/color-hex-case': null,
'declaration-empty-line-before': null,
'rule-empty-line-before': null,
'shorthand-property-no-redundant-values': null,
'selector-pseudo-element-colon-notation': null,
},
};