forked from Skisliy/initium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsass-lint.yml
60 lines (45 loc) · 1.12 KB
/
sass-lint.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
58
59
60
options:
merge-default-rules: false
include: '**/*.scss'
rules:
# Правильный хекс
no-invalid-hex: 2
# Отступы в 2 пробела
indentation:
- 1
- size: 2
# Без нулей в десятичных дробях
leading-zero:
- 1
- include: false
# Без большой вложенности
nesting-depth:
- 1
- max-depth: 4
# Пробелы
space-before-colon: 1
space-after-bang: 1
space-before-brace: 1
space-around-operator: 1
space-after-comma: 1
space-after-colon: 1
# Нет цветам словами
no-color-keywords: 1
# Одно правило на строку
one-declaration-per-line: 1
# Пустая строка перед блоком
empty-line-between-blocks: 1
# Без префиксов
no-vendor-prefixes: 1
# Без лишних нулей
no-trailing-zero: 1
# Без лишних пробелов
no-trailing-whitespace: 1
# Опечатки
no-misspelled-properties: 1
# Проверка на пустышки
no-empty-rulesets: 1
# Без дублей
no-duplicate-properties: 1
# Без айди
no-ids: 1