Skip to content
This repository has been archived by the owner on Dec 1, 2017. It is now read-only.

Commit

Permalink
Fixed wrongly constructed reg-exp name checks
Browse files Browse the repository at this point in the history
  • Loading branch information
swernerx committed Apr 21, 2017
1 parent fa73902 commit fe1f222
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions stylelint/scss.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@ plugins:

rules:
# lowercase-single-dashed-names-only-0
scss/at-function-pattern: /^[a-z0-9]+(-[a-z0-9]+)*$/
scss/at-function-pattern: ^[a-z0-9]+(-[a-z0-9]+)*$
scss/at-import-no-partial-leading-underscore: true

# TODO: coming in next stylelint-scss release
# scss/at-mixin-argumentless-call-parentheses: always

scss/at-mixin-pattern: /^[a-z0-9]+(-[a-z0-9]+)*$/
scss/at-mixin-pattern: ^[a-z0-9]+(-[a-z0-9]+)*$

scss/dollar-variable-no-missing-interpolation: true
scss/dollar-variable-pattern: /^[a-z0-9]+(-[a-z0-9]+)*$/
scss/dollar-variable-pattern: ^[a-z0-9]+(-[a-z0-9]+)*$
scss/dollar-variable-colon-space-after: always

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

scss/percent-placeholder-pattern: /^[a-z0-9]+(-[a-z0-9]+)*$/
scss/percent-placeholder-pattern: ^[a-z0-9]+(-[a-z0-9]+)*$

scss/selector-no-redundant-nesting-selector: true

Expand Down
2 changes: 1 addition & 1 deletion stylelint/selector.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ rules:
- true
- ignore: descendant
selector-class-pattern:
- "^[a-z][a-zA-Z0-9]+$"
- ^[a-z][a-zA-Z0-9]+$
- resolveNestedSelectors: true
selector-no-id: true

0 comments on commit fe1f222

Please sign in to comment.