Skip to content

Commit

Permalink
Fix stylelint deprecation warnings (#64)
Browse files Browse the repository at this point in the history
When running webpack I was getting various stylelint deprecation
warnings. I've have followed the suggestions for using other options
instead and the warnings are now gone. See #64 for more details.

Fixes #64.
  • Loading branch information
vzDevelopment committed Apr 26, 2019
1 parent 71392e6 commit 7b24029
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions stylelint.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = {
"rules": {
"at-rule-empty-line-before": [ "always", {
except: [ "blockless-group", "first-nested" ],
except: [ "blockless-after-blockless", "first-nested" ],
ignore: ["after-comment"],
} ],
"at-rule-name-case": "lower",
Expand All @@ -24,7 +24,6 @@ module.exports = {
"comment-whitespace-inside": "always",
"declaration-bang-space-after": "never",
"declaration-bang-space-before": "always",
"declaration-block-no-ignored-properties": true,
"declaration-block-no-shorthand-property-overrides": true,
"declaration-block-semicolon-newline-after": "always-multi-line",
"declaration-block-semicolon-space-after": "always-single-line",
Expand All @@ -50,7 +49,6 @@ module.exports = {
"max-empty-lines": 1,
"media-feature-colon-space-after": "always",
"media-feature-colon-space-before": "never",
"media-feature-no-missing-punctuation": true,
"media-feature-range-operator-space-after": "always",
"media-feature-range-operator-space-before": "always",
"media-query-list-comma-newline-after": "always-multi-line",
Expand All @@ -64,7 +62,7 @@ module.exports = {
"number-leading-zero": "never",
"number-no-trailing-zeros": true,
"property-case": "lower",
"rule-non-nested-empty-line-before": [ "always-multi-line", {
"rule-empty-line-before": [ "always-multi-line", {
ignore: ["after-comment"],
} ],
"selector-attribute-brackets-space-inside": "never",
Expand Down

0 comments on commit 7b24029

Please sign in to comment.