forked from FreeTubeApp/FreeTube
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstylelint.config.mjs
39 lines (39 loc) · 918 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
import logicalSpec from 'stylelint-use-logical-spec'
import a11y from '@double-great/stylelint-a11y'
/** @type {import('stylelint').Config} */
export default {
plugins: [logicalSpec, ...a11y],
extends: ['stylelint-config-standard', 'stylelint-config-sass-guidelines'],
overrides: [
{
files: '**/*.scss',
customSyntax: 'postcss-scss',
rules: {
'max-nesting-depth': null,
'selector-max-compound-selectors': null
}
},
{
files: '**/*.css',
rules: { }
}
],
rules: {
'selector-no-qualifying-type': [
true,
{
ignore: ['attribute']
}
],
'selector-class-pattern': null,
'selector-id-pattern': null,
'selector-pseudo-class-no-unknown': [
true,
{
ignorePseudoClasses: ['deep', 'global']
}
],
'a11y/no-outline-none': true,
'liberty/use-logical-spec': ['always']
}
}