UNPKG

2.9 kBYAMLView Raw
1options:
2 formatter: stylish
3rules:
4 # Extends
5 extends-before-mixins: 2
6 extends-before-declarations: 2
7 placeholder-in-extend: 2
8
9 # Mixins
10 mixins-before-declarations: 2
11
12 # Line Spacing
13 one-declaration-per-line: 2
14 empty-line-between-blocks: 2
15 single-line-per-selector: 2
16
17 # Disallows
18 no-attribute-selectors: 0
19 no-color-keywords: 2
20 no-color-literals: 2
21 no-combinators: 0
22 no-css-comments: 2
23 no-debug: 1
24 no-disallowed-properties: 0
25 no-duplicate-properties: 2
26 no-empty-rulesets: 2
27 no-extends: 0
28 no-ids: 2
29 no-important: 2
30 no-invalid-hex: 2
31 no-mergeable-selectors: 2
32 no-misspelled-properties: 2
33 no-qualifying-elements: 2
34 no-trailing-whitespace: 2
35 no-trailing-zero: 2
36 no-transition-all: 2
37 no-universal-selectors: 0
38 no-url-protocols: 2
39 no-vendor-prefixes:
40 - 2
41 -
42 ignore-non-standard: true
43 no-warn: 1
44 property-units: 0
45
46 # Nesting
47 force-attribute-nesting: 0
48 force-element-nesting: 2
49 force-pseudo-nesting: 2
50
51 # Name Formats
52 class-name-format:
53 - 2
54 -
55 convention: ^([a-z](\-{1}[a-z])?)*((\-{2})(([A-Z](\-{1}[A-Z])?)|([a-z](\-{1}[a-z])?))*)?
56 convention-explanation: Please use http://pointnorth.io/ naming conventions
57 function-name-format:
58 - 2
59 -
60 convention: ^([a-z](\-{1}[a-z])?)*((\-{2})(([A-Z](\-{1}[A-Z])?)|([a-z](\-{1}[a-z])?))*)?
61 convention-explanation: Please use http://pointnorth.io/ naming conventions
62 id-name-format: 0
63 mixin-name-format:
64 - 2
65 -
66 convention: ^([a-z](\-{1}[a-z])?)*((\-{2})(([A-Z](\-{1}[A-Z])?)|([a-z](\-{1}[a-z])?))*)?
67 convention-explanation: Please use http://pointnorth.io/ naming conventions
68 placeholder-name-format:
69 - 2
70 -
71 convention: ^([a-z](\-{1}[a-z])?)*((\-{2})(([A-Z](\-{1}[A-Z])?)|([a-z](\-{1}[a-z])?))*)?
72 convention-explanation: Please use http://pointnorth.io/ naming conventions
73 variable-name-format:
74 - 2
75 -
76 convention: ^([a-z](\-{1}[a-z])?)*((\-{2})(([A-Z](\-{1}[A-Z])?)|([a-z](\-{1}[a-z])?))*)?
77 convention-explanation: Please use http://pointnorth.io/ naming conventions
78
79 # Style Guide
80 attribute-quotes: 2
81 bem-depth: 0
82 border-zero: 2
83 brace-style:
84 - 2
85 -
86 style: stroustrup
87 allow-single-line: false
88 clean-import-paths: 2
89 empty-args: 2
90 hex-length: 2
91 hex-notation: 2
92 indentation: 2
93 leading-zero: 2
94 # TODO: Revert to 2 once https://github.com/sasstools/sass-lint/pull/677 lands
95 nesting-depth:
96 - 2
97 -
98 max-depth: 3
99 property-sort-order: 2
100 pseudo-element: 2
101 quotes: 2
102 shorthand-values: 2
103 url-quotes: 2
104 variable-for-property: 0
105 zero-unit: 2
106
107 # Inner Spacing
108 space-after-comma: 2
109 space-before-colon: 2
110 space-after-colon: 2
111 space-before-brace: 2
112 space-before-bang: 2
113 space-after-bang: 2
114 space-between-parens: 2
115 space-around-operator: 2
116
117 # Final Items
118 trailing-semicolon: 2
119 final-newline: 2