-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstylelint.config.js
More file actions
32 lines (32 loc) · 913 Bytes
/
stylelint.config.js
File metadata and controls
32 lines (32 loc) · 913 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// @ https://stylelint.io/user-guide/example-config
module.exports = {
extends: [
'stylelint-config-standard',
'stylelint-config-prettier',
'stylelint-config-recess-order',
],
plugins: ['stylelint-prettier'],
rules: {
'alpha-value-notation': 'number',
'at-rule-empty-line-before': 'always',
'at-rule-no-unknown': [
true,
{
ignoreAtRules: ['mixin', 'define-mixin', 'if', 'else'],
},
],
'custom-media-pattern': '^([a-z][a-z0-9]*)(-[a-z0-9]+)*$',
'custom-property-pattern': '^([a-z][a-z0-9]*)(-[a-z0-9]+)*$',
'comment-empty-line-before': 'never',
'declaration-block-no-duplicate-properties': [
true,
{
ignore: ['consecutive-duplicates-with-different-values'],
},
],
'max-nesting-depth': 4,
'no-descending-specificity': null,
'prettier/prettier': true,
'selector-class-pattern': null,
},
};