Skip to content
This repository has been archived by the owner on Dec 1, 2019. It is now read-only.

Commit

Permalink
Add stylelint stylelint-a11y plugin (#626)
Browse files Browse the repository at this point in the history
* Add `.stylelintignore` to ignore RTL CSS

* Add stylelint-a11y plugin

* Addd initial `stlyelint-a11y1 rules

* Delete .stylelintignore

* Add `focus` to ` .search-form .search-submit`

* Update RTL styles
  • Loading branch information
ntwb authored and ianbelanger79 committed Oct 7, 2019
1 parent 28845f8 commit 92a0fb5
Show file tree
Hide file tree
Showing 5 changed files with 149 additions and 69 deletions.
9 changes: 7 additions & 2 deletions .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
{
"extends": "stylelint-config-wordpress",
"extends": [
"stylelint-config-wordpress"
],
"plugins": ["stylelint-a11y"],
"rules": {
"font-family-no-missing-generic-family-keyword": null,
"no-descending-specificity": null
"no-descending-specificity": null,
"a11y/no-outline-none": true,
"a11y/selector-pseudo-class-focus": true
}
}
Loading

0 comments on commit 92a0fb5

Please sign in to comment.