forked from ualbertalib/jupiter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.scss-lint.yml
43 lines (34 loc) · 1.38 KB
/
.scss-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
# Linter Documentation:
# https://github.com/brigade/scss-lint/blob/master/lib/scss_lint/linter/README.md
scss_files: 'app/assets/stylesheets/**/*.scss'
linters:
# `scss-lint:disable` control comments should be preceded by a comment
# explaining why these linters are being disabled for this file.
# See https://github.com/brigade/scss-lint#disabling-linters-via-source for
# more information.
DisableLinterReason:
enabled: true
# TODO: Might enable this if this gets annoying
# Avoid qualifying elements in selectors (also known as "tag-qualifying").
# QualifyingElement:
# enabled: false
# Variables should be formatted with a single space separating the colon
# from the variable's value.
SpaceAfterVariableColon:
enabled: true
# HoundCI must be using old scss-lint version, let's enforce this ourselves to be single quotes
# Enforces that string literals should be written with a consistent form
# of quotes (single or double).
StringQuotes:
enabled: true
style: single_quotes # or double_quotes
# We want `0.6` instead of `.6`
LeadingZero:
enabled: false
# We want `0px` instead of `0`
ZeroUnit:
enabled: false
# TODO: default alphabetical isn't great, but we may want to explore 'concentic' ordering:
# https://github.com/brigade/scss-lint/blob/master/data/property-sort-orders/concentric.txt
PropertySortOrder:
enabled: false