|
| 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 | +# ChainedClasses, DisableLinterReason, ElsePlacement, PrivateNamingConvention |
| 5 | +# PropertyCount, PseudoElement, SelectorDepth, SpaceAfterVariableColon |
| 6 | +# SpaceAroundOperator, TrailingWhitespace, UnnecessaryParentReference, VendorPrefixes |
| 7 | +# |
| 8 | +# The following settings/values are unsupported by sass-lint: |
| 9 | +# Linter Indentation, option "allow_non_nested_indentation" |
| 10 | +# Linter Indentation, option "character" |
| 11 | +# Linter NestingDepth, option "ignore_parent_selectors" |
| 12 | +# Linter PropertySortOrder, option "min_properties" |
| 13 | +# Linter PropertySortOrder, option "separate_groups" |
| 14 | +# Linter SpaceBeforeBrace, option "allow_single_line_padding" |
| 15 | + |
| 16 | +files: |
| 17 | + include: '**/*.scss' |
| 18 | +options: |
| 19 | + formatter: stylish |
| 20 | + merge-default-rules: false |
| 21 | +rules: |
| 22 | + # class 名称规则 |
| 23 | + class-name-format: |
| 24 | + - 1 |
| 25 | + - convention: hyphenatedbem |
| 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: false |
| 35 | + clean-import-paths: |
| 36 | + - 1 |
| 37 | + - filename-extension: true |
| 38 | + leading-underscore: false |
| 39 | + empty-line-between-blocks: |
| 40 | + - 1 |
| 41 | + - ignore-single-line-rulesets: true |
| 42 | + extends-before-declarations: 1 |
| 43 | + extends-before-mixins: 1 |
| 44 | + final-newline: |
| 45 | + - 1 |
| 46 | + - include: true |
| 47 | + force-attribute-nesting: 0 |
| 48 | + force-element-nesting: 0 |
| 49 | + force-pseudo-nesting: 0 |
| 50 | + function-name-format: |
| 51 | + - 1 |
| 52 | + - allow-leading-underscore: true |
| 53 | + convention: hyphenatedlowercase |
| 54 | + hex-length: |
| 55 | + - 1 |
| 56 | + - style: short |
| 57 | + hex-notation: |
| 58 | + - 1 |
| 59 | + - style: lowercase |
| 60 | + id-name-format: |
| 61 | + - 1 |
| 62 | + - convention: hyphenatedlowercase |
| 63 | + indentation: |
| 64 | + - 1 |
| 65 | + - size: 2 |
| 66 | + leading-zero: |
| 67 | + - 1 |
| 68 | + - include: true |
| 69 | + mixin-name-format: |
| 70 | + - 1 |
| 71 | + - allow-leading-underscore: true |
| 72 | + convention: hyphenatedlowercase |
| 73 | + mixins-before-declarations: 1 |
| 74 | + nesting-depth: |
| 75 | + - 1 |
| 76 | + - max-depth: 3 |
| 77 | + no-color-keywords: 1 |
| 78 | + no-color-literals: 0 |
| 79 | + no-css-comments: 0 |
| 80 | + no-debug: 1 |
| 81 | + no-duplicate-properties: 0 |
| 82 | + no-empty-rulesets: 1 |
| 83 | + no-extends: 0 |
| 84 | + no-ids: 1 |
| 85 | + no-important: 0 |
| 86 | + no-invalid-hex: 1 |
| 87 | + no-mergeable-selectors: 0 |
| 88 | + no-misspelled-properties: |
| 89 | + - 1 |
| 90 | + - extra-properties: [] |
| 91 | + no-qualifying-elements: |
| 92 | + - 1 |
| 93 | + - allow-element-with-attribute: false |
| 94 | + allow-element-with-class: false |
| 95 | + allow-element-with-id: false |
| 96 | + no-trailing-zero: 1 |
| 97 | + no-transition-all: 0 |
| 98 | + no-url-protocols: 0 |
| 99 | + placeholder-in-extend: 1 |
| 100 | + placeholder-name-format: |
| 101 | + - 1 |
| 102 | + - convention: hyphenatedlowercase |
| 103 | + property-sort-order: |
| 104 | + - 0 |
| 105 | + - ignore-custom-properties: false |
| 106 | + property-units: |
| 107 | + - 0 |
| 108 | + - global: |
| 109 | + - ch |
| 110 | + - em |
| 111 | + - ex |
| 112 | + - rem |
| 113 | + - cm |
| 114 | + - in |
| 115 | + - mm |
| 116 | + - pc |
| 117 | + - pt |
| 118 | + - px |
| 119 | + - q |
| 120 | + - vh |
| 121 | + - vw |
| 122 | + - vmin |
| 123 | + - vmax |
| 124 | + - deg |
| 125 | + - grad |
| 126 | + - rad |
| 127 | + - turn |
| 128 | + - ms |
| 129 | + - s |
| 130 | + - Hz |
| 131 | + - kHz |
| 132 | + - dpi |
| 133 | + - dpcm |
| 134 | + - dppx |
| 135 | + - '%' |
| 136 | + per-property: {} |
| 137 | + quotes: |
| 138 | + - 1 |
| 139 | + - style: single |
| 140 | + shorthand-values: 1 |
| 141 | + single-line-per-selector: 1 |
| 142 | + space-after-bang: |
| 143 | + - 1 |
| 144 | + - include: false |
| 145 | + space-after-colon: |
| 146 | + - 1 |
| 147 | + - include: true |
| 148 | + space-after-comma: 1 |
| 149 | + space-before-bang: |
| 150 | + - 1 |
| 151 | + - include: true |
| 152 | + space-before-brace: |
| 153 | + - 1 |
| 154 | + - include: true |
| 155 | + space-before-colon: 1 |
| 156 | + space-between-parens: |
| 157 | + - 1 |
| 158 | + - include: false |
| 159 | + trailing-semicolon: 1 |
| 160 | + url-quotes: 1 |
| 161 | + variable-for-property: |
| 162 | + - 0 |
| 163 | + - properties: [] |
| 164 | + variable-name-format: |
| 165 | + - 1 |
| 166 | + - allow-leading-underscore: true |
| 167 | + convention: hyphenatedlowercase |
| 168 | + zero-unit: 1 |
0 commit comments