-
Notifications
You must be signed in to change notification settings - Fork 13
/
.stylelintrc.yml
57 lines (56 loc) · 2.36 KB
/
.stylelintrc.yml
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
57
extends:
- stylelint-config-sass-guidelines
plugins:
- stylelint-prettier
- './lib/stylelintLVHFA.js'
- stylelint-order
rules:
block-no-empty: null
color-named:
- never
- ignore:
- 'inside-function'
max-nesting-depth: 4
order/order:
- - type: at-rule
hasBlock: false
- custom-properties
- declarations
- unspecified: ignore
disableFix: true
order/properties-alphabetical-order: error
plugin/selector-pseudo-class-lvhfa: true
prettier/prettier: true
property-no-vendor-prefix: null
selector-class-pattern:
# "piece" regex:
# [a-zA-Z0-9]+
# dash-separated pieces:
# [a-zA-Z][a-zA-Z0-9]*(?:-[a-zA-Z][a-zA-Z0-9]*)*
#
# Block Element (optional) Modifier (also optional)
# ---------------------------------------------- ----------------------------------------------- -----------------------------------------------
- '^[a-zA-Z][a-zA-Z0-9]*(?:-[a-zA-Z0-9]+)*(?:__[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*)?(?:--[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*)?$'
selector-no-qualifying-type:
string-no-newline: true
scss/at-import-partial-extension-disallowed-list:
- 'less'
- 'sass'
scss/at-mixin-pattern:
# "piece" regex:
# [a-zA-Z0-9]+
# dash-separated pieces:
# [a-zA-Z][a-zA-Z0-9]*(?:-[a-zA-Z][a-zA-Z0-9]*)*
#
# Block Element (optional) Modifier (also optional)
# ---------------------------------------------- ----------------------------------------------- -----------------------------------------------
- '^[a-zA-Z][a-zA-Z0-9]*(?:-[a-zA-Z0-9]+)*(?:__[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*)?(?:--[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*)?$'
scss/percent-placeholder-pattern:
# "piece" regex:
# [a-zA-Z0-9]+
# dash-separated pieces:
# [a-zA-Z][a-zA-Z0-9]*(?:-[a-zA-Z][a-zA-Z0-9]*)*
#
# Block Element (optional) Modifier (also optional)
# ---------------------------------------------- ----------------------------------------------- -----------------------------------------------
- '^[a-zA-Z][a-zA-Z0-9]*(?:-[a-zA-Z0-9]+)*(?:__[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*)?(?:--[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*)?$'