Skip to content

Commit

Permalink
adds rules to stylelint config (#539)
Browse files Browse the repository at this point in the history
  • Loading branch information
delambo authored Oct 20, 2017
1 parent d7d9bc8 commit b0d8475
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions packages/stylelint-config-kyt/stylelintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,21 @@
"rules": {
"string-quotes": "single",
"selector-max-id": 0,
"property-no-unknown": [true, {"ignoreProperties": ["composes"]}],
"selector-pseudo-class-no-unknown": [ true, {
"ignorePseudoClasses": ["export", "import", "global", "local"]
}]
"property-no-unknown": [true, { "ignoreProperties": ["composes"] }],
"selector-pseudo-class-no-unknown": [
true,
{
"ignorePseudoClasses": ["export", "import", "global", "local"]
}
],
"function-url-scheme-blacklist": "never",
"property-no-vendor-prefix": true,
"selector-no-vendor-prefix": true,
"selector-class-pattern": [
"^[a-zA-Z0-9_]+$",
{
"message": "Selector should be alhpanumeric, without hyphens [stylelint-config-kyt]"
}
]
}
}

0 comments on commit b0d8475

Please sign in to comment.