Skip to content

Commit

Permalink
fix: use warn level for prettier rule
Browse files Browse the repository at this point in the history
  • Loading branch information
danielwaltz committed Dec 7, 2024
1 parent 3990a67 commit ce9e60c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/formatting.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ import prettier from "eslint-plugin-prettier/recommended";

export function formattingConfigs() {
return [
prettier,
{
...prettier,
name: "danielwaltz/formatting/prettier",
rules: { "prettier/prettier": "warn" },
name: "danielwaltz/formatting/customized",
},
] as const satisfies ResolvableFlatConfig[];
}

0 comments on commit ce9e60c

Please sign in to comment.