Skip to content

Commit

Permalink
fix: changed the formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jaig-0911 committed May 10, 2024
1 parent a19e73c commit 42a62e3
Show file tree
Hide file tree
Showing 5 changed files with 194 additions and 181 deletions.
3 changes: 2 additions & 1 deletion cSpell.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"pdnejk",
"slds",
"labelledby",
"describedby"
"describedby",
"ensp"
],
"flagWords": ["master-slave", "slave", "blacklist", "whitelist"],
"allowCompoundWords": true
Expand Down
2 changes: 1 addition & 1 deletion packages/format/src/result.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { NodeResult, Result } from 'axe-core';
import { priorities, wcagLevels, WcagMetadata } from '@sa11y/preset-rules';

const defaultImpact = 'minor'; // if impact is undefined
const formatSpacing = '\t'.repeat(12);
const formatSpacing = ' '.repeat(6);
// Helper object to sort violations by impact order
const impactOrder = {
critical: 1,
Expand Down
Loading

0 comments on commit 42a62e3

Please sign in to comment.