Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

stylelint-a11y

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stylelint-a11y - npm Package Compare versions

Comparing version 1.1.10 to 1.1.11

recommended.js

2

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc