-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.stylelintrc.js
37 lines (37 loc) · 1.02 KB
/
.stylelintrc.js
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
/*
* @Author : conghui li [email protected]
* @Date : 2022-09-01 14:52:29
* @LastEditors : conghui li [email protected]
* @LastEditTime : 2022-09-27 09:02:39
*/
module.exports = {
processors: [],
plugins: [],
extends: [
'stylelint-config-html/html',
'stylelint-config-standard-scss',
'stylelint-config-recommended-vue/scss',
'stylelint-config-recess-order',
],
rules: {
'declaration-colon-space-after': 'always-single-line',
'declaration-colon-space-before': 'never',
'declaration-block-trailing-semicolon': null,
'declaration-block-semicolon-space-before': 'never',
'media-feature-name-no-unknown': null,
'selector-pseudo-class-no-unknown': [
true,
{
ignorePseudoClasses: ['deep'],
},
],
'rule-empty-line-before': [
'always',
{
ignore: ['after-comment', 'first-nested'],
},
],
// style calc中使用v-bind
'function-calc-no-unspaced-operator': null,
}, // 可以自己自定一些规则
};