Skip to content

Commit

Permalink
chore: set up prettier config
Browse files Browse the repository at this point in the history
  • Loading branch information
dustin-jw committed Dec 4, 2023
1 parent d3892a0 commit 2146390
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Configs
package.json
package-lock.json
tsconfig.json

# npm
node_modules
npm-debug.log

# Build
/out
/build
/dist
/_site

# IDEs
.vscode
.idea

# Swap
*~
*.swp
*.swo

# Next.js
.next
next.config.json
next-env.d.ts
14 changes: 14 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"printWidth": 110,
"endOfLine": "lf",
"trailingComma": "es5",
"tabWidth": 2,
"useTabs": true,
"semi": true,
"singleQuote": true,
"quoteProps": "as-needed",
"jsxSingleQuote": false,
"bracketSpacing": true,
"bracketSameLine": false,
"arrowParens": "always"
}

0 comments on commit 2146390

Please sign in to comment.