-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.stylelintrc
20 lines (20 loc) · 905 Bytes
/
.stylelintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# /~https://github.com/stylelint/stylelint
# https://www.npmjs.com/package/stylelint-config-html#cd-installation
#
{
'extends':
['stylelint-config-standard', 'stylelint-config-html/svelte', 'stylelint-config-recess-order'],
'rules': {
'alpha-value-notation': null,
'selector-class-pattern': null, # classでkebab-case以外も許容
'value-keyword-case': null,
# https://stackoverflow.com/questions/72161637/unexpected-unknown-at-rule-tailwind-scss-at-rule-no-unknown
'at-rule-no-unknown': [true, { 'ignoreAtRules': ['tailwind'] }],
# with tailwindcss
'function-no-unknown': null,
'media-query-no-invalid': null,
# /~https://github.com/callstack/linaria/issues/443#issuecomment-723722246
# > Unexpected unknown pseudo-class selector ":global"
'selector-pseudo-class-no-unknown': [true, { 'ignorePseudoClasses': ['global'] }],
},
}