Skip to content

Commit

Permalink
[#261] moves stylelint config to package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
GentlemanHal committed Dec 21, 2018
1 parent d38f3ab commit cb488cb
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 23 deletions.
23 changes: 0 additions & 23 deletions .stylelintrc.yml

This file was deleted.

29 changes: 29 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,5 +125,34 @@
"webpack-merge": "4.1.5",
"whatwg-url": "7.0.0",
"workbox-webpack-plugin": "3.6.3"
},
"stylelint": {
"extends": "stylelint-config-standard",
"plugins": [
"stylelint-order",
"stylelint-scss"
],
"rules": {
"string-quotes": "single",
"font-family-name-quotes": "always-where-required",
"function-url-quotes": "always",
"at-rule-no-unknown": null,
"selector-pseudo-class-no-unknown": [
true,
{
"ignorePseudoClasses": ["global"]
}
],
"scss/at-rule-no-unknown": true,
"scss/at-function-pattern": "^_{0,1}[a-z-]+$",
"scss/at-mixin-pattern": "^_{0,1}[a-z-]+$",
"scss/dollar-variable-pattern": "^_{0,1}[a-z-]+$",
"scss/percent-placeholder-pattern": "^_{0,1}[a-z-]+$",
"scss/no-duplicate-dollar-variables": true,
"scss/double-slash-comment-whitespace-inside": "always",
"scss/dollar-variable-colon-space-before": "never",
"scss/dollar-variable-colon-space-after": "always",
"order/properties-alphabetical-order": true
}
}
}

0 comments on commit cb488cb

Please sign in to comment.