Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi committed Nov 28, 2023
1 parent 7f9bffc commit a2d9982
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions docs/.vitepress/theme/components/rules/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,12 @@ categories.sort((a, b) =>
a.categoryOrder > b.categoryOrder
? 1
: a.categoryOrder < b.categoryOrder
? -1
: a.title > b.title
? 1
: a.title < b.title
? -1
: 0,
? -1
: a.title > b.title
? 1
: a.title < b.title
? -1
: 0,
);

export const DEFAULT_RULES_CONFIG = allRules.reduce((c, r) => {
Expand Down
4 changes: 2 additions & 2 deletions src/utils/yaml.ts
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,8 @@ export function incIndent(indent: string, context: RuleContext): string {
numOfIndent === 2
? " "
: numOfIndent === 4
? " "
: " ".repeat(numOfIndent);
? " "
: " ".repeat(numOfIndent);
return `${indent}${add}`;
}

Expand Down

0 comments on commit a2d9982

Please sign in to comment.