Skip to content

Commit

Permalink
fix(perf): normalize all selectors for better cache utilization
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanb committed Feb 4, 2018
1 parent c9cd122 commit 189c165
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/rules/heading-order.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "heading-order",
"selector": "h1,h2,h3,h4,h5,h6,[role=heading]",
"selector": "h1, h2, h3, h4, h5, h6, [role=heading]",
"tags": [
"cat.semantics",
"best-practice"
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/landmark-main-is-top-level.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "landmark-main-is-top-level",
"selector": "main,[role=main]",
"selector": "main, [role=main]",
"tags": [
"best-practice"
],
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/link-in-text-block.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "link-in-text-block",
"selector": "a[href], *[role=link]",
"selector": "a[href], [role=link]",
"matches": "link-in-text-block-matches.js",
"excludeHidden": false,
"tags": [
Expand Down

0 comments on commit 189c165

Please sign in to comment.