|
| 1 | +# This file is part of the LIN3S CS library. |
| 2 | +# |
| 3 | +# Copyright (c) 2015-2017 LIN3S <info@lin3s.com> |
| 4 | +# |
| 5 | +# For the full copyright and license information, please view the LICENSE |
| 6 | +# file that was distributed with this source code. |
| 7 | +# |
| 8 | +# @author Beñat Espiña <benatespina@gmail.com> |
| 9 | + |
| 10 | +scss_files: "**/*.scss" |
| 11 | +plugin_directories: ['.scss-linters'] |
| 12 | + |
| 13 | +# List of gem names to load custom linters from (make sure they are already installed) |
| 14 | +plugin_gems: [] |
| 15 | + |
| 16 | +linters: |
| 17 | + BangFormat: |
| 18 | + enabled: true |
| 19 | + space_before_bang: true |
| 20 | + space_after_bang: false |
| 21 | + |
| 22 | + BemDepth: |
| 23 | + enabled: false |
| 24 | + max_elements: 1 |
| 25 | + |
| 26 | + BorderZero: |
| 27 | + enabled: true |
| 28 | + convention: zero # or `none` |
| 29 | + |
| 30 | + ColorKeyword: |
| 31 | + enabled: true |
| 32 | + |
| 33 | + ColorVariable: |
| 34 | + enabled: true |
| 35 | + |
| 36 | + Comment: |
| 37 | + enabled: true |
| 38 | + |
| 39 | + DebugStatement: |
| 40 | + enabled: true |
| 41 | + |
| 42 | + DeclarationOrder: |
| 43 | + enabled: true |
| 44 | + |
| 45 | + DisableLinterReason: |
| 46 | + enabled: false |
| 47 | + |
| 48 | + DuplicateProperty: |
| 49 | + enabled: true |
| 50 | + |
| 51 | + ElsePlacement: |
| 52 | + enabled: true |
| 53 | + style: same_line # or 'new_line' |
| 54 | + |
| 55 | + EmptyLineBetweenBlocks: |
| 56 | + enabled: true |
| 57 | + ignore_single_line_blocks: true |
| 58 | + |
| 59 | + EmptyRule: |
| 60 | + enabled: true |
| 61 | + |
| 62 | + ExtendDirective: |
| 63 | + enabled: false |
| 64 | + |
| 65 | + FinalNewline: |
| 66 | + enabled: true |
| 67 | + present: true |
| 68 | + |
| 69 | + HexLength: |
| 70 | + enabled: true |
| 71 | + style: short # or 'long' |
| 72 | + |
| 73 | + HexNotation: |
| 74 | + enabled: true |
| 75 | + style: lowercase # or 'uppercase' |
| 76 | + |
| 77 | + HexValidation: |
| 78 | + enabled: true |
| 79 | + |
| 80 | + IdSelector: |
| 81 | + enabled: true |
| 82 | + |
| 83 | + ImportantRule: |
| 84 | + enabled: true |
| 85 | + |
| 86 | + ImportPath: |
| 87 | + enabled: true |
| 88 | + leading_underscore: false |
| 89 | + filename_extension: false |
| 90 | + |
| 91 | + Indentation: |
| 92 | + enabled: true |
| 93 | + allow_non_nested_indentation: false |
| 94 | + character: space # or 'tab' |
| 95 | + width: 2 |
| 96 | + |
| 97 | + LeadingZero: |
| 98 | + enabled: true |
| 99 | + style: exclude_zero # or 'include_zero' |
| 100 | + |
| 101 | + MergeableSelector: |
| 102 | + enabled: true |
| 103 | + force_nesting: true |
| 104 | + |
| 105 | + NameFormat: |
| 106 | + enabled: true |
| 107 | + allow_leading_underscore: true |
| 108 | + convention: hyphenated_lowercase # or 'camel_case', or 'snake_case', or a regex pattern |
| 109 | + mixin_convention: '^([\.\%]?[a-z]*[-]?[a-z0-9\-]*)(\.[a-z0-9\-]*)?(__[a-z0-9]*[-]?[a-z0-9\-]*)?(--[a-z0-9]*[-]?[a-z0-9\-]*)?(\:[a-z]*)*$' |
| 110 | + mixin_convention_explanation: BEM pattern |
| 111 | + placeholder_convention: '^([\.\%]?[a-z]*[-]?[a-z0-9\-]*)(\.[a-z0-9\-]*)?(__[a-z0-9]*[-]?[a-z0-9\-]*)?(--[a-z0-9]*[-]?[a-z0-9\-]*)?(\:[a-z]*)*$' |
| 112 | + placeholder_convention_explanation: BEM pattern |
| 113 | + |
| 114 | + NestingDepth: |
| 115 | + enabled: true |
| 116 | + max_depth: 3 |
| 117 | + ignore_parent_selectors: false |
| 118 | + |
| 119 | + PlaceholderInExtend: |
| 120 | + enabled: true |
| 121 | + |
| 122 | + PropertyCount: |
| 123 | + enabled: false |
| 124 | + include_nested: false |
| 125 | + max_properties: 10 |
| 126 | + |
| 127 | + PropertySortOrder: |
| 128 | + enabled: true |
| 129 | + ignore_unspecified: false |
| 130 | + min_properties: 2 |
| 131 | + separate_groups: false |
| 132 | + |
| 133 | + PropertySpelling: |
| 134 | + enabled: true |
| 135 | + extra_properties: [] |
| 136 | + |
| 137 | + QualifyingElement: |
| 138 | + enabled: true |
| 139 | + allow_element_with_attribute: false |
| 140 | + allow_element_with_class: false |
| 141 | + allow_element_with_id: false |
| 142 | + |
| 143 | + SelectorDepth: |
| 144 | + enabled: true |
| 145 | + max_depth: 3 |
| 146 | + |
| 147 | + SelectorFormat: |
| 148 | + enabled: true |
| 149 | + convention: hyphenated_BEM # or 'strict_BEM', or 'hyphenated_lowercase', or 'snake_case', or 'camel_case', or a regex pattern |
| 150 | + |
| 151 | + Shorthand: |
| 152 | + enabled: true |
| 153 | + allowed_shorthands: [1, 2, 3] |
| 154 | + |
| 155 | + SingleLinePerProperty: |
| 156 | + enabled: true |
| 157 | + allow_single_line_rule_sets: true |
| 158 | + |
| 159 | + SingleLinePerSelector: |
| 160 | + enabled: true |
| 161 | + |
| 162 | + SpaceAfterComma: |
| 163 | + enabled: true |
| 164 | + |
| 165 | + SpaceAfterPropertyColon: |
| 166 | + enabled: true |
| 167 | + style: one_space # or 'no_space', or 'at_least_one_space', or 'aligned' |
| 168 | + |
| 169 | + SpaceAfterPropertyName: |
| 170 | + enabled: true |
| 171 | + |
| 172 | + SpaceAfterVariableName: |
| 173 | + enabled: true |
| 174 | + |
| 175 | + SpaceAroundOperator: |
| 176 | + enabled: true |
| 177 | + style: one_space # or 'no_space' |
| 178 | + |
| 179 | + SpaceBeforeBrace: |
| 180 | + enabled: true |
| 181 | + style: space # or 'new_line' |
| 182 | + allow_single_line_padding: false |
| 183 | + |
| 184 | + SpaceBetweenParens: |
| 185 | + enabled: true |
| 186 | + spaces: 0 |
| 187 | + |
| 188 | + StringQuotes: |
| 189 | + enabled: true |
| 190 | + style: single_quotes # or double_quotes |
| 191 | + |
| 192 | + TrailingSemicolon: |
| 193 | + enabled: true |
| 194 | + |
| 195 | + TrailingWhitespace: |
| 196 | + enabled: true |
| 197 | + |
| 198 | + TrailingZero: |
| 199 | + enabled: false |
| 200 | + |
| 201 | + UnnecessaryMantissa: |
| 202 | + enabled: true |
| 203 | + |
| 204 | + UnnecessaryParentReference: |
| 205 | + enabled: true |
| 206 | + |
| 207 | + UrlFormat: |
| 208 | + enabled: true |
| 209 | + |
| 210 | + UrlQuotes: |
| 211 | + enabled: true |
| 212 | + |
| 213 | + VariableForProperty: |
| 214 | + enabled: false |
| 215 | + properties: [] |
| 216 | + |
| 217 | + VendorPrefix: |
| 218 | + enabled: true |
| 219 | + identifier_list: base |
| 220 | + additional_identifiers: [] |
| 221 | + excluded_identifiers: [] |
| 222 | + |
| 223 | + ZeroUnit: |
| 224 | + enabled: true |
| 225 | + |
| 226 | + Compass::*: |
| 227 | + enabled: false |
0 commit comments