Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Sep 12, 2024
1 parent b8a3ac9 commit 1ea2db1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils/get-auto-jsonc-rules-config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ function getJsoncRule(rule: string) {
);

const ruleName = rule.startsWith("@stylistic/")
? rule.split("/").pop() ?? rule
? (rule.split("/").pop() ?? rule)
: rule;

return ruleNames.has(ruleName) ? `jsonc/${ruleName}` : null;
Expand Down

0 comments on commit 1ea2db1

Please sign in to comment.