-
Notifications
You must be signed in to change notification settings - Fork 0
/
stylelint.config.mjs
43 lines (43 loc) · 992 Bytes
/
stylelint.config.mjs
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
43
/**
*
* NOTE: this is not imported from `/config`, so any updates will have to be made there as well for the time being (CJS / MJS mis-matches)
* TODO: figure out how to do this. (Maybe just a script?)
*
*/
export default {
extends: [
'stylelint-config-standard',
"@ronilaukkarinen/stylelint-a11y/recommended"
],
rules: {
'at-rule-no-unknown': [
true,
{
ignoreAtRules: [
'tailwind',
'apply',
'variants',
'responsive',
'screen',
],
},
],
'comment-empty-line-before': null,
'declaration-block-trailing-semicolon': null,
'no-descending-specificity': null,
"a11y/no-text-align-justify": true,
"a11y/font-size-is-readable": true,
"a11y/media-prefers-color-scheme": true,
"a11y/line-height-is-vertical-rhythmed": true,
"a11y/no-display-none": true,
"a11y/no-obsolete-element": true,
},
"overrides": [
{
"files": ["**/*.vue"],
"extends": [
"stylelint-config-standard-vue"
]
}
]
};