Snippets
Created by
Maikel Daloo
last modified
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 | # sass-lint config - strict coding style rule declarations.
files:
include: '**/*.s+(a|c)ss'
options:
formatter: stylish
merge-default-rules: false
rules:
attribute-quotes:
- 1
- include: true
border-zero:
- 1
- convention: 0
brace-style:
- 1
- style: stroustrup
- allow-single-line: false
class-name-format:
- 1
-
allow-leading-underscore: false
convention: hyphenatedbem
declarations-before-nesting: 1
empty-line-between-blocks:
- 1
- include: true
- allow-single-line-rulesets: false
extends-before-declarations: 1
extends-before-mixins: 1
function-name-format:
- 1
-
allow-leading-underscore: false
convention: hyphenatedbem
hex-notation:
- 1
- style: lowercase
id-name-format:
- 1
-
allow-leading-underscore: false
convention: hyphenatedbem
indentation:
- 1
- size: tab
leading-zero:
- 1
- include: true
mixin-name-format:
- 1
-
allow-leading-underscore: false
convention: hyphenatedbem
no-ids: 1
no-invalid-hex: 2
no-qualifying-elements: 0
no-misspelled-properties: 2
no-trailing-whitespace: 1
one-declaration-per-line: 1
placeholder-name-format:
- 1
-
allow-leading-underscore: false
convention: hyphenatedbem
property-sort-order:
- 1
- order: alphabetical
quotes:
- 1
- style: double
single-line-per-selector: 1
space-after-bang:
- 1
- include: false
space-after-colon:
- 1
- include: true
space-after-comma:
- 1
- include: true
space-around-operator:
- 1
- include: true
space-before-bang:
- 1
- include: true
space-before-brace:
- 1
- include: true
space-before-colon:
- 1
- include: false
space-between-parens:
- 1
- include: false
trailing-semicolon:
- 1
- include: true
variable-name-format:
- 1
-
allow-leading-underscore: false
convention: hyphenatedbem
zero-unit:
- 1
- include: false
|
Comments (0)
You can clone a snippet to your computer for local editing. Learn more.