-
Notifications
You must be signed in to change notification settings - Fork 1
/
.sass-lint.yaml
152 lines (152 loc) Β· 3.36 KB
/
.sass-lint.yaml
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
# sass-lint config generated by make-sass-lint-config v0.1.2
#
# The following scss-lint Linters are not yet supported by sass-lint:
# ElsePlacement, PropertyCount, SelectorDepth, UnnecessaryParentReference
#
# The following settings/values are unsupported by sass-lint:
# Linter Indentation, option "allow_non_nested_indentation"
# Linter PropertySortOrder, option "separate_groups"
# Linter SpaceBeforeBrace, option "allow_single_line_padding"
# Linter VendorPrefix, option "identifier_list"
files:
include: 'sass/**/*.sass'
options:
formatter: compact
merge-default-rules: false
rules:
bem-depth:
- 2
- max-depth: 2
border-zero:
- 2
- convention: none
brace-style:
- 2
- style: '1tbs'
- allow-single-line: false
class-name-format:
- 2
- convention: '^[a-z_][a-z0-9_\-]+$'
clean-import-paths:
- 1
- filename-extension: false
- leading-underscore: false
declarations-before-nesting: 1
empty-line-between-blocks:
- 1
- include: true
- allow-single-line-rulesets: false
empty-args: false
extends-before-declarations: 1
extends-before-mixins: 1
final-newline:
- 1
- include: true
force-attribute-nesting: 0
force-element-nesting: 1
force-pseudo-nesting: 1
function-name-format:
- 2
- allow-leading-underscore: false
- convention: 'camelcase'
hex-length:
- 2
- style: long
hex-notation:
- 2
- style: lowercase
id-name-format:
- 2
- allow-leading-underscore: false
- convention: '^[a-z0-9_\-]+$'
indentation:
- 2
- size: 4
leading-zero:
- 2
- include: true
mixin-name-format:
- 2
- allow-leading-underscore: false
- convention: 'camelcase'
mixins-before-declarations: 1
nesting-depth:
- 0
- max-depth: 4
no-attribute-selectors: 0
no-color-hex: 0
no-color-keywords: 1
no-color-literals: 0
no-css-comments: 0
no-debug: 2
no-duplicate-properties: 1
no-empty-rulesets: 0
no-extends: 0
no-ids: 1
no-important: 0
no-invalid-hex: 1
no-mergeable-selectors: 1
no-misspelled-properties:
- 1
- extra-properties:
- text-size-adjust
no-qualifying-elements:
- 2
- allow-element-with-attribute: false
allow-element-with-class: false
allow-element-with-id: false
no-trailing-zero: 2
no-transition-all: 0
no-url-protocols: 0
no-vendor-prefixes:
- 1
- additional-identifiers: []
excluded-identifiers:
- user-select
- appearance
- font-smoothing
- osx-font-smoothing
- ignore-non-standard: true
one-declaration-per-line: 1
placeholder-in-extend: 0
placeholder-name-format:
- 2
- convention: '^[a-z0-9_\-]+$'
property-sort-order: 0
pseudo-element: 1
quotes:
- 1
- style: 'single'
shorthand-values: 2
single-line-per-selector: 2
space-after-bang:
- 2
- include: false
space-after-colon:
- 2
- include: true
space-after-comma:
- 2
- include: true
space-before-bang:
- 2
- include: true
space-before-brace:
- 2
- include: true
space-before-colon:
- 2
- include: false
space-between-parens:
- 2
- include: false
trailing-semicolon:
- 2
- include: true
url-quotes: 1
variable-for-property: 0
variable-name-format:
- 2
- convention: '^((\$?[a-z][a-zA-Z0-9_\-]+)|([A-Z_]+))$'
- allow-leading-underscore: false
zero-unit: 0