https://github.com/sasstools/sass-lint/tree/develop/docs/rules
Created
October 26, 2016 11:23
-
-
Save erikpantzar/8ac8b358d1ad6fa1a05f79e2e33338c8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
options: | |
formatter: stylish | |
files: | |
include: '**/*.s+(a|c)ss' | |
exclude: 'vendor/**.scss' | |
rules: | |
# Extends | |
extends-before-mixins: 1 | |
extends-before-declarations: 1 | |
placeholder-in-extend: 1 | |
# Mixins | |
mixins-before-declarations: 1 | |
# Line Spacing | |
one-declaration-per-line: 1 | |
empty-line-between-blocks: 1 | |
single-line-per-selector: 1 | |
# Disallows | |
no-color-keywords: 1 | |
no-color-literals: 1 | |
no-css-comments: 0 | |
no-debug: 1 | |
no-duplicate-properties: 2 | |
no-empty-rulesets: 1 | |
no-extends: 0 | |
no-ids: 1 | |
no-important: 1 | |
no-invalid-hex: 1 | |
no-mergeable-selectors: 1 | |
no-misspelled-properties: 2 | |
no-qualifying-elements: | |
- 1 | |
- | |
allow-element-with-attribute: true | |
no-trailing-zero: 1 | |
no-transition-all: 1 | |
no-url-protocols: 0 | |
no-vendor-prefixes: 0 | |
no-warn: 1 | |
# Nesting | |
force-attribute-nesting: 0 | |
force-element-nesting: 1 | |
force-pseudo-nesting: 1 | |
# Name Formats | |
function-name-format: 1 | |
mixin-name-format: 1 | |
placeholder-name-format: 1 | |
variable-name-format: | |
- 1 | |
- | |
allow-leading-underscore: false | |
# Style Guide | |
border-zero: 1 | |
brace-style: 1 | |
class-name-format: | |
- 1 | |
- | |
convetion: strictbem | |
clean-import-paths: 1 | |
empty-args: 1 | |
hex-length: 1 | |
hex-notation: 1 | |
indentation: | |
- 1 | |
- | |
size: 4 | |
leading-zero: 1 | |
nesting-depth: 1 | |
property-sort-order: 1 | |
quotes: 1 | |
shorthand-values: 1 | |
url-quotes: 1 | |
variable-for-property: 1 | |
zero-unit: 1 | |
# Inner Spacing | |
space-after-comma: 1 | |
space-before-colon: 1 | |
space-after-colon: 1 | |
space-before-brace: 1 | |
space-before-bang: 1 | |
space-after-bang: 1 | |
space-between-parens: 1 | |
# Final Items | |
trailing-semicolon: 1 | |
final-newline: 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment