aoc-automation
Version:
Advent of Code tool to automate the repetitive parts of AoC.
18 lines (15 loc) • 335 B
text/typescript
import type { Setup } from "../types/common";
const prettierJSON = ({ semicolons }: Setup) => {
return {
arrowParens: "always",
bracketSpacing: true,
printWidth: 80,
proseWrap: "preserve",
semi: semicolons,
singleQuote: false,
tabWidth: 2,
useTabs: false,
trailingComma: "all",
};
};
export default prettierJSON;