Skip to content

Commit

Permalink
Merge pull request #34 from ntwb/vendor-prefixes
Browse files Browse the repository at this point in the history
Removed all vendor prefix rules
  • Loading branch information
ntwb committed May 31, 2020
1 parent 9c80aa0 commit 172343f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 6 additions & 0 deletions packages/stylelint-config-wordpress/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

* Added: `max-empty-lines` rule, limits the number of adjacent empty lines to 2.
* Updated `rule-nested-empty-line-before` rule with option `ignore: ["after-comment"]`.
* Removed all vendor prefixes, lets autoprefixer handle vendor prefixes:
* Removed `at-rule-no-vendor-prefix`
* Removed `media-feature-name-no-vendor-prefix`
* Removed `property-no-vendor-prefix`
* Removed `selector-no-vendor-prefix`
* Removed `value-no-vendor-prefix`

# 2.0.2

Expand Down
5 changes: 0 additions & 5 deletions packages/stylelint-config-wordpress/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ module.exports = {
except: ["blockless-group"],
ignore: ["after-comment"],
} ],
"at-rule-no-vendor-prefix": true,
"block-closing-brace-newline-after": "always",
"block-closing-brace-newline-before": "always",
"block-opening-brace-newline-after": "always",
Expand All @@ -31,7 +30,6 @@ module.exports = {
"max-empty-lines": 2,
"media-feature-colon-space-after": "always",
"media-feature-colon-space-before": "never",
"media-feature-name-no-vendor-prefix": true,
"media-feature-no-missing-punctuation": true,
"media-feature-range-operator-space-after": "always",
"media-feature-range-operator-space-before": "always",
Expand All @@ -44,7 +42,6 @@ module.exports = {
"number-leading-zero": "always",
"number-no-trailing-zeros": true,
"number-zero-length-no-unit": true,
"property-no-vendor-prefix": true,
"rule-no-shorthand-property-overrides": true,
"rule-nested-empty-line-before": [ "always", {
ignore: ["after-comment"],
Expand All @@ -57,12 +54,10 @@ module.exports = {
"selector-combinator-space-before": "always",
"selector-list-comma-newline-after": "always",
"selector-list-comma-space-before": "never",
"selector-no-vendor-prefix": true,
"selector-pseudo-element-colon-notation": "single",
"string-quotes": "double",
"value-list-comma-newline-after": "always-multi-line",
"value-list-comma-space-after": "always-single-line",
"value-list-comma-space-before": "never",
"value-no-vendor-prefix": true,
},
}

0 comments on commit 172343f

Please sign in to comment.