|
| 1 | +# sass-lint config generated by make-sass-lint-config v0.1.2 |
| 2 | +# |
| 3 | +# The following scss-lint Linters are not yet supported by sass-lint: |
| 4 | +# DisableLinterReason, ElsePlacement, PropertyCount, SelectorDepth |
| 5 | +# SpaceAroundOperator, TrailingWhitespace, UnnecessaryParentReference, Compass::* |
| 6 | +# |
| 7 | +# The following settings/values are unsupported by sass-lint: |
| 8 | +# Linter Indentation, option "allow_non_nested_indentation" |
| 9 | +# Linter Indentation, option "character" |
| 10 | +# Linter NestingDepth, option "ignore_parent_selectors" |
| 11 | +# Linter PropertySortOrder, option "min_properties" |
| 12 | +# Linter PropertySortOrder, option "separate_groups" |
| 13 | +# Linter PropertyUnits, option "border" |
| 14 | +# Linter PropertyUnits, option "line-height" |
| 15 | +# Linter PropertyUnits, option "margin" |
| 16 | +# Linter PropertyUnits, option "height" |
| 17 | +# Linter SpaceBeforeBrace, option "allow_single_line_padding" |
| 18 | +# Linter VendorPrefix, option "identifier_list" |
| 19 | + |
| 20 | +files: |
| 21 | + include: '**/*.scss' |
| 22 | +options: |
| 23 | + formatter: stylish |
| 24 | + merge-default-rules: false |
| 25 | +rules: |
| 26 | + bem-depth: |
| 27 | + - 0 |
| 28 | + - max-depth: 1 |
| 29 | + border-zero: |
| 30 | + - 1 |
| 31 | + - convention: zero |
| 32 | + brace-style: |
| 33 | + - 1 |
| 34 | + - allow-single-line: true |
| 35 | + class-name-format: |
| 36 | + - 1 |
| 37 | + - convention: >- |
| 38 | + ^([A-Z]?[a-zA-Z\-]*[a-z0-9]*)(\.[a-z0-9\-]*)?(__[a-z0-9]*([-]?[a-z0-9]+)?[-]?[a-z0-9]*)?(--[a-z0-9]*[-]?[a-z0-9\-]*)?(\:[a-z]*)*$ |
| 39 | + convention-explanation: 'Check this regex what is allowed https://regex101.com/r/PBNJvx/3' |
| 40 | + clean-import-paths: |
| 41 | + - 1 |
| 42 | + - filename-extension: false |
| 43 | + leading-underscore: false |
| 44 | + empty-line-between-blocks: |
| 45 | + - 1 |
| 46 | + - ignore-single-line-rulesets: true |
| 47 | + extends-before-declarations: 1 |
| 48 | + extends-before-mixins: 1 |
| 49 | + final-newline: |
| 50 | + - 1 |
| 51 | + - include: true |
| 52 | + force-attribute-nesting: 1 |
| 53 | + force-element-nesting: 1 |
| 54 | + force-pseudo-nesting: 1 |
| 55 | + function-name-format: |
| 56 | + - 1 |
| 57 | + - allow-leading-underscore: false |
| 58 | + convention: '^[a-z]+[a-z\d-]*$' |
| 59 | + convention-explanation: >- |
| 60 | + Only hyphenated lowercase with numbers allowed. Dont start with a |
| 61 | + number! https://regex101.com/r/2YMIg4/2 |
| 62 | + hex-length: |
| 63 | + - 1 |
| 64 | + - style: short |
| 65 | + hex-notation: |
| 66 | + - 1 |
| 67 | + - style: lowercase |
| 68 | + id-name-format: |
| 69 | + - 1 |
| 70 | + - convention: >- |
| 71 | + ^([A-Z]?[a-zA-Z\-]*[a-z0-9]*)(\.[a-z0-9\-]*)?(__[a-z0-9]*([-]?[a-z0-9]+)?[-]?[a-z0-9]*)?(--[a-z0-9]*[-]?[a-z0-9\-]*)?(\:[a-z]*)*$ |
| 72 | + convention-explanation: 'Check this regex what is allowed https://regex101.com/r/PBNJvx/3' |
| 73 | + indentation: |
| 74 | + - 1 |
| 75 | + - size: 2 |
| 76 | + leading-zero: |
| 77 | + - 1 |
| 78 | + - include: true |
| 79 | + mixin-name-format: |
| 80 | + - 1 |
| 81 | + - allow-leading-underscore: false |
| 82 | + convention: '^[a-z]+[a-z\d-]*$' |
| 83 | + convention-explanation: >- |
| 84 | + Only hyphenated lowercase with numbers allowed. Dont start with a |
| 85 | + number! https://regex101.com/r/2YMIg4/2 |
| 86 | + mixins-before-declarations: 1 |
| 87 | + nesting-depth: |
| 88 | + - 1 |
| 89 | + - max-depth: 3 |
| 90 | + no-color-keywords: 1 |
| 91 | + no-color-literals: 1 |
| 92 | + no-css-comments: 0 |
| 93 | + no-debug: 1 |
| 94 | + no-duplicate-properties: 1 |
| 95 | + no-empty-rulesets: 1 |
| 96 | + no-extends: 0 |
| 97 | + no-ids: 1 |
| 98 | + no-important: 1 |
| 99 | + no-invalid-hex: 1 |
| 100 | + no-mergeable-selectors: 1 |
| 101 | + no-misspelled-properties: |
| 102 | + - 1 |
| 103 | + - extra-properties: [] |
| 104 | + no-qualifying-elements: |
| 105 | + - 1 |
| 106 | + - allow-element-with-attribute: false |
| 107 | + allow-element-with-class: false |
| 108 | + allow-element-with-id: false |
| 109 | + no-trailing-zero: 1 |
| 110 | + no-transition-all: 0 |
| 111 | + no-url-protocols: 1 |
| 112 | + no-vendor-prefixes: |
| 113 | + - 1 |
| 114 | + - additional-identifiers: [] |
| 115 | + excluded-identifiers: [] |
| 116 | + placeholder-in-extend: 1 |
| 117 | + placeholder-name-format: |
| 118 | + - 1 |
| 119 | + - convention: >- |
| 120 | + ^([A-Z]?[a-zA-Z\-]*[a-z0-9]*)(\.[a-z0-9\-]*)?(__[a-z0-9]*([-]?[a-z0-9]+)?[-]?[a-z0-9]*)?(--[a-z0-9]*[-]?[a-z0-9\-]*)?(\:[a-z]*)*$ |
| 121 | + convention-explanation: 'Check this regex what is allowed https://regex101.com/r/PBNJvx/3' |
| 122 | + property-sort-order: |
| 123 | + - 0 |
| 124 | + - ignore-custom-properties: false |
| 125 | + property-units: |
| 126 | + - 1 |
| 127 | + - global: |
| 128 | + - ch |
| 129 | + - em |
| 130 | + - ex |
| 131 | + - rem |
| 132 | + - cm |
| 133 | + - in |
| 134 | + - mm |
| 135 | + - pc |
| 136 | + - pt |
| 137 | + - px |
| 138 | + - q |
| 139 | + - vh |
| 140 | + - vw |
| 141 | + - vmin |
| 142 | + - vmax |
| 143 | + - deg |
| 144 | + - grad |
| 145 | + - rad |
| 146 | + - turn |
| 147 | + - ms |
| 148 | + - s |
| 149 | + - Hz |
| 150 | + - kHz |
| 151 | + - dpi |
| 152 | + - dpcm |
| 153 | + - dppx |
| 154 | + - '%' |
| 155 | + per-property: null |
| 156 | + quotes: |
| 157 | + - 1 |
| 158 | + - style: single |
| 159 | + shorthand-values: |
| 160 | + - 1 |
| 161 | + - allowed-shorthands: |
| 162 | + - 1 |
| 163 | + - 2 |
| 164 | + - 3 |
| 165 | + - 4 |
| 166 | + single-line-per-selector: 1 |
| 167 | + space-after-bang: |
| 168 | + - 1 |
| 169 | + - include: false |
| 170 | + space-after-colon: |
| 171 | + - 1 |
| 172 | + - include: true |
| 173 | + space-after-comma: |
| 174 | + - 1 |
| 175 | + - include: true |
| 176 | + space-before-bang: |
| 177 | + - 1 |
| 178 | + - include: true |
| 179 | + space-before-brace: |
| 180 | + - 1 |
| 181 | + - include: true |
| 182 | + space-before-colon: 1 |
| 183 | + space-between-parens: |
| 184 | + - 1 |
| 185 | + - include: false |
| 186 | + trailing-semicolon: 1 |
| 187 | + url-quotes: 1 |
| 188 | + variable-for-property: |
| 189 | + - 0 |
| 190 | + - properties: [] |
| 191 | + variable-name-format: |
| 192 | + - 1 |
| 193 | + - allow-leading-underscore: false |
| 194 | + convention: '^([a-z]*)((-[a-z\d]+)+)*$' |
| 195 | + convention-explanation: >- |
| 196 | + Always start with a single letter indicating variable-level (component, |
| 197 | + setting etc). Only use kebab-case and lower case characters after that: |
| 198 | + https://regex101.com/r/xQAEqX/6 |
| 199 | + zero-unit: 1 |
0 commit comments