-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstylelint.config.js
More file actions
42 lines (42 loc) · 915 Bytes
/
Copy pathstylelint.config.js
File metadata and controls
42 lines (42 loc) · 915 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
33
34
35
36
37
38
39
40
41
42
module.exports = {
extends: [
'stylelint-config-standard',
'stylelint-config-rational-order',
'stylelint-prettier/recommended',
],
plugins: ['stylelint-prettier'],
rules: {
'prettier/prettier': true,
'at-rule-empty-line-before': [
'always',
{
except: [
'blockless-after-blockless',
'blockless-after-same-name-blockless',
'first-nested',
],
ignore: ['after-comment', 'inside-block'],
ignoreAtRules: ['apply', 'screen', 'font-face', 'nest'],
},
],
'at-rule-no-unknown': [
true,
{
ignoreAtRules: [
'tailwind',
'variants',
'responsive',
'apply',
'screen',
],
},
],
'property-no-unknown': [
true,
{
ignoreProperties: ['font-path'],
},
],
'selector-nested-pattern': '^&',
},
}