stylelint-a11y
Advanced tools
Comparing version 1.1.10 to 1.1.11
{ | ||
"name": "stylelint-a11y", | ||
"version": "1.1.10", | ||
"version": "1.1.11", | ||
"description": "Plugin for stylelint with a11y rules", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -40,2 +40,10 @@ # stylelint-a11y | ||
Add recommended configuration by simply adding the following to `extends` in your stylelint configuration: | ||
``` | ||
stylelint-a11y/recommended | ||
``` | ||
This shareable config contains the following: | ||
```json | ||
@@ -47,12 +55,3 @@ { | ||
"a11y/no-outline-none": true, | ||
"a11y/selector-pseudo-class-focus": true, | ||
"a11y/content-property-no-static-value": [true, { "severity": "warning" }], | ||
"a11y/font-size-is-readable": [true, { "severity": "warning" }], | ||
"a11y/line-height-is-vertical-rhythmed": [true, { "severity": "warning" }], | ||
"a11y/no-display-none": [true, { "severity": "warning" }], | ||
"a11y/no-spread-text": [true, { "severity": "warning" }], | ||
"a11y/no-obsolete-attribute": [true, { "severity": "warning" }], | ||
"a11y/no-obsolete-element": [true, { "severity": "warning" }], | ||
"a11y/no-text-align-justify": [true, { "severity": "warning" }], | ||
"a11y/media-prefers-color-scheme": [true, { "severity": "warning" }] | ||
"a11y/selector-pseudo-class-focus": true | ||
} | ||
@@ -62,2 +61,4 @@ } | ||
Since it adds stylelint-a11y to `plugins`, you don't have to do this yourself when extending this config. | ||
## Help out | ||
@@ -64,0 +65,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
79
2989
77
324174