Skip to content

Commit

Permalink
use config file for prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
achou11 committed Dec 18, 2024
1 parent d91fd8d commit f6f2fca
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .prettierrc.js → prettier.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
module.exports = {
// @ts-check

/** @type {import('prettier').Config} */
const config = {
arrowParens: 'avoid',
bracketSameLine: true,
bracketSpacing: false,
singleQuote: true,
trailingComma: 'all',
};

module.exports = config;

0 comments on commit f6f2fca

Please sign in to comment.