-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
.stylelintrc.cjs
56 lines (52 loc) · 1.27 KB
/
.stylelintrc.cjs
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
44
45
46
47
48
49
50
51
52
53
54
55
56
/** @type {import("@types/stylelint").Options} */
module.exports = {
extends: [
'stylelint-config-standard',
'stylelint-config-standard-scss',
'stylelint-config-prettier',
'stylelint-config-recess-order',
],
plugins: [
//
'stylelint-order',
],
overrides: [
{
files: ['*.vue', '**/*.vue'],
extends: [
'stylelint-config-standard-scss',
'stylelint-config-prettier',
'stylelint-config-recommended-vue/scss',
],
},
],
rules: {
'comment-empty-line-before': null,
// Shorthand units make things hard to read and change
'shorthand-property-no-redundant-values': null,
'scss/double-slash-comment-empty-line-before': null,
'color-function-notation': null,
'property-no-vendor-prefix': null,
'value-keyword-case': null,
'declaration-block-no-redundant-longhand-properties': null,
'hue-degree-notation': null,
'length-zero-no-unit': null,
'alpha-value-notation': null,
'color-hex-length': null,
'scss/at-import-partial-extension': null,
'selector-pseudo-class-no-unknown': [
true,
{
ignorePseudoClasses: ['global'],
},
],
'selector-pseudo-element-no-unknown': [
true,
{
ignorePseudoElements: ['v-deep'],
},
],
'max-line-length': [100, , { ignore: ['comments'] }],
'selector-class-pattern': null,
},
};