|
| 1 | +# Default application configuration that all configurations inherit from. |
| 2 | + |
| 3 | +scss_files: "**/*.scss" |
| 4 | +plugin_directories: ['.scss-linters'] |
| 5 | + |
| 6 | +# List of gem names to load custom linters from (make sure they are already |
| 7 | +# installed) |
| 8 | +plugin_gems: [] |
| 9 | + |
| 10 | +# Default severity of all linters. |
| 11 | +severity: warning |
| 12 | + |
| 13 | +linters: |
| 14 | + BangFormat: |
| 15 | + enabled: true |
| 16 | + space_before_bang: true |
| 17 | + space_after_bang: false |
| 18 | + |
| 19 | + BemDepth: |
| 20 | + enabled: false |
| 21 | + max_elements: 1 |
| 22 | + |
| 23 | + BorderZero: |
| 24 | + enabled: true |
| 25 | + convention: none # or `zero` |
| 26 | + |
| 27 | + ChainedClasses: |
| 28 | + enabled: false |
| 29 | + |
| 30 | + ColorKeyword: |
| 31 | + enabled: true |
| 32 | + |
| 33 | + ColorVariable: |
| 34 | + enabled: false |
| 35 | + |
| 36 | + Comment: |
| 37 | + enabled: false |
| 38 | + style: silent |
| 39 | + |
| 40 | + DebugStatement: |
| 41 | + enabled: true |
| 42 | + |
| 43 | + DeclarationOrder: |
| 44 | + enabled: true |
| 45 | + |
| 46 | + DisableLinterReason: |
| 47 | + enabled: false |
| 48 | + |
| 49 | + DuplicateProperty: |
| 50 | + enabled: true |
| 51 | + |
| 52 | + ElsePlacement: |
| 53 | + enabled: true |
| 54 | + style: same_line # or 'new_line' |
| 55 | + |
| 56 | + EmptyLineBetweenBlocks: |
| 57 | + enabled: true |
| 58 | + ignore_single_line_blocks: true |
| 59 | + |
| 60 | + EmptyRule: |
| 61 | + enabled: true |
| 62 | + |
| 63 | + ExtendDirective: |
| 64 | + enabled: false |
| 65 | + |
| 66 | + FinalNewline: |
| 67 | + enabled: true |
| 68 | + present: true |
| 69 | + |
| 70 | + HexLength: |
| 71 | + enabled: true |
| 72 | + style: short # or 'long' |
| 73 | + |
| 74 | + HexNotation: |
| 75 | + enabled: false |
| 76 | + style: uppercase # or 'lowercase' |
| 77 | + |
| 78 | + HexValidation: |
| 79 | + enabled: true |
| 80 | + |
| 81 | + IdSelector: |
| 82 | + enabled: true |
| 83 | + |
| 84 | + ImportantRule: |
| 85 | + enabled: false |
| 86 | + |
| 87 | + ImportPath: |
| 88 | + enabled: true |
| 89 | + leading_underscore: false |
| 90 | + filename_extension: false |
| 91 | + |
| 92 | + Indentation: |
| 93 | + enabled: true |
| 94 | + allow_non_nested_indentation: false |
| 95 | + character: tab # or 'space' |
| 96 | + width: 1 |
| 97 | + |
| 98 | + LeadingZero: |
| 99 | + enabled: true |
| 100 | + style: include_zero # or 'exclude_zero' |
| 101 | + |
| 102 | + MergeableSelector: |
| 103 | + enabled: true |
| 104 | + force_nesting: true |
| 105 | + |
| 106 | + NameFormat: |
| 107 | + enabled: true |
| 108 | + allow_leading_underscore: true |
| 109 | + convention: snake_case # or 'camel_case', or 'hyphenated_lowercase', or a regex pattern |
| 110 | + |
| 111 | + NestingDepth: |
| 112 | + enabled: false |
| 113 | + max_depth: 8 |
| 114 | + ignore_parent_selectors: false |
| 115 | + |
| 116 | + PlaceholderInExtend: |
| 117 | + enabled: false |
| 118 | + |
| 119 | + PrivateNamingConvention: |
| 120 | + enabled: false |
| 121 | + prefix: _ |
| 122 | + |
| 123 | + PropertyCount: |
| 124 | + enabled: false |
| 125 | + include_nested: false |
| 126 | + max_properties: 10 |
| 127 | + |
| 128 | + PropertySortOrder: |
| 129 | + enabled: false |
| 130 | + ignore_unspecified: false |
| 131 | + min_properties: 2 |
| 132 | + separate_groups: false |
| 133 | + |
| 134 | + PropertySpelling: |
| 135 | + enabled: true |
| 136 | + extra_properties: [] |
| 137 | + disabled_properties: [] |
| 138 | + |
| 139 | + PropertyUnits: |
| 140 | + enabled: true |
| 141 | + global: [ |
| 142 | + 'ch', 'em', 'ex', 'rem', # Font-relative lengths |
| 143 | + 'cm', 'in', 'mm', 'pc', 'pt', 'px', 'q', # Absolute lengths |
| 144 | + 'vh', 'vw', 'vmin', 'vmax', # Viewport-percentage lengths |
| 145 | + 'deg', 'grad', 'rad', 'turn', # Angle |
| 146 | + 'ms', 's', # Duration |
| 147 | + 'Hz', 'kHz', # Frequency |
| 148 | + 'dpi', 'dpcm', 'dppx', # Resolution |
| 149 | + '%'] # Other |
| 150 | + properties: {} |
| 151 | + |
| 152 | + PseudoElement: |
| 153 | + enabled: true |
| 154 | + |
| 155 | + QualifyingElement: |
| 156 | + enabled: true |
| 157 | + allow_element_with_attribute: true |
| 158 | + allow_element_with_class: false |
| 159 | + allow_element_with_id: false |
| 160 | + |
| 161 | + SelectorDepth: |
| 162 | + enabled: false |
| 163 | + max_depth: 8 |
| 164 | + |
| 165 | + SelectorFormat: |
| 166 | + enabled: true |
| 167 | + convention: hyphenated_lowercase # or 'strict_BEM', or 'hyphenated_BEM', or 'snake_case', or 'camel_case', or a regex pattern |
| 168 | + |
| 169 | + Shorthand: |
| 170 | + enabled: true |
| 171 | + allowed_shorthands: [1, 2, 3, 4] |
| 172 | + |
| 173 | + SingleLinePerProperty: |
| 174 | + enabled: true |
| 175 | + allow_single_line_rule_sets: true |
| 176 | + |
| 177 | + SingleLinePerSelector: |
| 178 | + enabled: true |
| 179 | + |
| 180 | + SpaceAfterComma: |
| 181 | + enabled: true |
| 182 | + style: one_space # or 'no_space', or 'at_least_one_space' |
| 183 | + |
| 184 | + SpaceAfterComment: |
| 185 | + enabled: false |
| 186 | + style: one_space # or 'no_space', or 'at_least_one_space' |
| 187 | + allow_empty_comments: true |
| 188 | + |
| 189 | + SpaceAfterPropertyColon: |
| 190 | + enabled: true |
| 191 | + style: one_space # or 'no_space', or 'at_least_one_space', or 'aligned' |
| 192 | + |
| 193 | + SpaceAfterPropertyName: |
| 194 | + enabled: true |
| 195 | + |
| 196 | + SpaceAfterVariableColon: |
| 197 | + enabled: false |
| 198 | + style: one_space # or 'no_space', 'at_least_one_space' or 'one_space_or_newline' |
| 199 | + |
| 200 | + SpaceAfterVariableName: |
| 201 | + enabled: true |
| 202 | + |
| 203 | + SpaceAroundOperator: |
| 204 | + enabled: true |
| 205 | + style: one_space # or 'at_least_one_space', or 'no_space' |
| 206 | + |
| 207 | + SpaceBeforeBrace: |
| 208 | + enabled: true |
| 209 | + style: space # or 'new_line' |
| 210 | + allow_single_line_padding: false |
| 211 | + |
| 212 | + SpaceBetweenParens: |
| 213 | + enabled: true |
| 214 | + spaces: 0 |
| 215 | + |
| 216 | + StringQuotes: |
| 217 | + enabled: true |
| 218 | + style: single_quotes # or double_quotes |
| 219 | + |
| 220 | + TrailingSemicolon: |
| 221 | + enabled: true |
| 222 | + |
| 223 | + TrailingWhitespace: |
| 224 | + enabled: true |
| 225 | + |
| 226 | + TrailingZero: |
| 227 | + enabled: false |
| 228 | + |
| 229 | + TransitionAll: |
| 230 | + enabled: false |
| 231 | + |
| 232 | + UnnecessaryMantissa: |
| 233 | + enabled: true |
| 234 | + |
| 235 | + UnnecessaryParentReference: |
| 236 | + enabled: true |
| 237 | + |
| 238 | + UrlFormat: |
| 239 | + enabled: true |
| 240 | + |
| 241 | + UrlQuotes: |
| 242 | + enabled: true |
| 243 | + |
| 244 | + VariableForProperty: |
| 245 | + enabled: false |
| 246 | + properties: [] |
| 247 | + |
| 248 | + VendorPrefix: |
| 249 | + enabled: true |
| 250 | + identifier_list: base |
| 251 | + additional_identifiers: [] |
| 252 | + excluded_identifiers: [] |
| 253 | + |
| 254 | + ZeroUnit: |
| 255 | + enabled: true |
| 256 | + |
| 257 | + Compass::*: |
| 258 | + enabled: false |
0 commit comments