Skip to content

Commit

Permalink
style: update prettier configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
JJozef committed Apr 21, 2024
1 parent 1784c8f commit 91c1e56
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .prettierrc.json

This file was deleted.

15 changes: 15 additions & 0 deletions prettier.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/** @type {import('prettier').Config} */
module.exports = {
endOfLine: 'lf',
semi: false,
singleQuote: true,
jsxSingleQuote: true,
tabWidth: 2,
trailingComma: 'none',
importOrderSeparation: false,
importOrderSortSpecifiers: true,
importOrderBuiltinModulesToTop: true,
importOrderParserPlugins: ['javascript', 'jsx', 'decorators-legacy'],
importOrderMergeDuplicateImports: true,
importOrderCombineTypeAndValueImports: true
}

0 comments on commit 91c1e56

Please sign in to comment.