Skip to content

Commit

Permalink
chore(rules): sort rule order
Browse files Browse the repository at this point in the history
  • Loading branch information
j-mendez committed Mar 10, 2024
1 parent 213dfbb commit 8f5e537
Show file tree
Hide file tree
Showing 36 changed files with 21,641 additions and 21,641 deletions.
4 changes: 2 additions & 2 deletions kayle/builder/build-rules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ import type { Rule } from "./build-types";
Buffer.from(
await format(
`/* ${DNE} */\nexport const htmlcsRules = ${JSON.stringify(
fast_htmlcs_rules.filter((r) => r.description),
fast_htmlcs_rules.filter((r) => r.description).sort((a, b) => a.ruleId.localeCompare(b.ruleId)),
)};`,
pConfig,
),
Expand All @@ -89,7 +89,7 @@ import type { Rule } from "./build-types";
Buffer.from(
await format(
`/* ${DNE} */\nexport const axeRules = ${JSON.stringify(
fast_axe_rules,
fast_axe_rules.sort((a, b) => a.ruleId.localeCompare(b.ruleId)),
)};`,
pConfig,
),
Expand Down
1,238 changes: 619 additions & 619 deletions kayle/lib/rules/ar/axe-rules.ts

Large diffs are not rendered by default.

1,470 changes: 735 additions & 735 deletions kayle/lib/rules/ar/htmlcs-rules.ts

Large diffs are not rendered by default.

Loading

0 comments on commit 8f5e537

Please sign in to comment.