diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..5c1b2f5 --- /dev/null +++ b/.prettierignore @@ -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 diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..b79ea0c --- /dev/null +++ b/.prettierrc @@ -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" +}