Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: init scsslint #1315

Merged
merged 8 commits into from
Mar 14, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
78 changes: 77 additions & 1 deletion .stylelintrc.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# master ruleset availabe here
# https://stylelint.io/user-guide/rules/

plugins: stylelint-scss
rules:
# Possible errors

Expand Down Expand Up @@ -78,4 +79,79 @@ rules:

## General / Sheet
#indentation: 4
no-eol-whitespace: true
no-eol-whitespace: true

# stylelint-scss
## Rules

### `@`-else
scss/at-else-closing-brace-newline-after: always-last-in-chain
scss/at-else-closing-brace-space-after: always-intermediate
scss/at-else-empty-line-before: never
scss/at-else-if-parentheses-space-before: always

### `@`-extend
#scss/at-extend-no-missing-placeholder: true

### `@`-function
#scss/at-function-named-arguments: never
scss/at-function-parentheses-space-before: never
# scss/at-function-pattern:

### `@`-if
scss/at-if-closing-brace-newline-after: always-last-in-chain
scss/at-if-closing-brace-space-after: always-intermediate

### `@`-import
scss/at-import-no-partial-leading-underscore: true
# scss/at-import-partial-extension-blacklist:
# scss/at-import-partial-extension-whitelist:

### `@`-mixin
scss/at-mixin-argumentless-call-parentheses: always
#scss/at-mixin-named-arguments: never
scss/at-mixin-parentheses-space-before: never
# scss/at-mixin-pattern:

### `@`-rule
scss/at-rule-no-unknown: true

### `$`-variable
#scss/dollar-variable-colon-newline-after: always-multi-line
scss/dollar-variable-colon-space-after: always
scss/dollar-variable-colon-space-before: never
# scss/dollar-variable-default: true
# scss/dollar-variable-empty-line-before: always
scss/dollar-variable-no-missing-interpolation: true
# scss/dollar-variable-pattern:

### `%`-placeholder
# scss/percent-placeholder-pattern:

### `//`-comment
#scss/double-slash-comment-empty-line-before: always
#scss/double-slash-comment-inline: always
#scss/double-slash-comment-whitespace-inside: always

### Declaration
scss/declaration-nested-properties: never
scss/declaration-nested-properties-no-divided-groups: true

### Media feature
#scss/media-feature-value-dollar-variable: always

### Operator
scss/operator-no-newline-after: true
scss/operator-no-newline-before: true
#scss/operator-no-unspaced: true

### Partial
#scss/partial-no-import: true

### Selector
#scss/selector-nest-combinators: always
#scss/selector-no-redundant-nesting-selector: true

### General / Sheet
#scss/no-dollar-variables: true
#scss/no-duplicate-dollar-variables: true