stylelint-config-wordpress
Advanced tools
Comparing version 2.1.0 to 3.0.0
@@ -0,11 +1,21 @@ | ||
# 3.0.0 | ||
* Removed: `stylelint < 4.5.0` compatibility. | ||
* Deprecated: `rule-no-shorthand-property-overrides` rule. Use the new `declaration-block-no-shorthand-property-overrides` rule instead. | ||
* Deprecated: `rule-trailing-semicolon` rule. Use the new `declaration-block-trailing-semicolon` rule instead. | ||
* Added: `color-named` rule. | ||
* Added: `declaration-block-no-shorthand-property-overrides` rule. | ||
* Added: `declaration-block-trailing-semicolon` rule. | ||
* Added: `string-no-newline` rule. | ||
# 2.1.0 | ||
* Added: `max-empty-lines` rule, limits the number of adjacent empty lines to 2. | ||
* Changed `rule-nested-empty-line-before` rule option `ignore: ["after-comment"]`. | ||
* Changed: `rule-nested-empty-line-before` rule 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` | ||
* 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` | ||
@@ -22,3 +32,3 @@ # 2.0.2 | ||
* Removed `media-query-parentheses-space-inside` rule. | ||
* Removed: `media-query-parentheses-space-inside` rule. | ||
* Removed: `stylelint < 4.3.4` compatibility. | ||
@@ -25,0 +35,0 @@ * Added: `font-family-name-quotes` rule with double quotes where recommended option. |
@@ -13,7 +13,10 @@ module.exports = { | ||
"color-hex-length": "short", | ||
"color-named": "never", | ||
"color-no-invalid-hex": true, | ||
"declaration-bang-space-after": "never", | ||
"declaration-bang-space-before": "always", | ||
"declaration-block-no-shorthand-property-overrides": true, | ||
"declaration-block-semicolon-newline-after": "always", | ||
"declaration-block-semicolon-space-before": "never", | ||
"declaration-block-trailing-semicolon": "always", | ||
"declaration-colon-newline-after": "always-multi-line", | ||
@@ -46,3 +49,2 @@ "declaration-colon-space-after": "always-single-line", | ||
"number-zero-length-no-unit": true, | ||
"rule-no-shorthand-property-overrides": true, | ||
"rule-nested-empty-line-before": [ "always", { | ||
@@ -54,3 +56,2 @@ ignore: ["after-comment"], | ||
} ], | ||
"rule-trailing-semicolon": "always", | ||
"selector-combinator-space-after": "always", | ||
@@ -61,2 +62,3 @@ "selector-combinator-space-before": "always", | ||
"selector-pseudo-element-colon-notation": "single", | ||
"string-no-newline": true, | ||
"string-quotes": "double", | ||
@@ -63,0 +65,0 @@ "value-list-comma-newline-after": "always-multi-line", |
{ | ||
"name": "stylelint-config-wordpress", | ||
"version": "2.1.0", | ||
"version": "3.0.0", | ||
"description": "WordPress shareable config for stylelint", | ||
@@ -28,6 +28,6 @@ "keywords": [ | ||
"ava": "^0.12.0", | ||
"eslint": "^2.2.0", | ||
"eslint": "2.2.0", | ||
"eslint-config-stylelint": "^1.0.0", | ||
"npmpub": "^3.0.3", | ||
"stylelint": "^4.4.0" | ||
"stylelint": "^4.5.0" | ||
}, | ||
@@ -34,0 +34,0 @@ "scripts": { |
@@ -16,3 +16,3 @@ # stylelint-config-wordpress | ||
Set your stylelint config to: | ||
If you've installed `stylelint-config-wordpress` locally within your project, just set your `stylelint` config to: | ||
@@ -25,2 +25,10 @@ ```json | ||
If you've globally installed `stylelint-config-wordpress` using the `-g` flag, then you'll need to use the absolute path to `stylelint-config-wordpress` in your config: | ||
```json | ||
{ | ||
"extends": "/absolute/path/to/stylelint-config-wordpress" | ||
} | ||
``` | ||
### Extending the config | ||
@@ -27,0 +35,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8623
65
52