From 8c2f35d823c8d6122e3823957557dda6576346b0 Mon Sep 17 00:00:00 2001 From: Ashhhleyyy Date: Mon, 4 Jul 2022 18:02:02 +0100 Subject: [PATCH] chore: Add prettier configs --- .prettierignore | 27 +++++++++++++++++++++++++++ .prettierrc | 8 ++++++++ 2 files changed, 35 insertions(+) create mode 100644 .prettierignore create mode 100644 .prettierrc diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..ec41f99 --- /dev/null +++ b/.prettierignore @@ -0,0 +1,27 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* + +# lockfile +pnpm-lock.yaml + +node_modules +dist +dist-ssr +*.local + +# Editor directories and files +.vscode/* +!.vscode/extensions.json +.idea +.DS_Store +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..d7a5a9c --- /dev/null +++ b/.prettierrc @@ -0,0 +1,8 @@ +{ + "jsxSingleQuote": true, + "semi": true, + "tabWidth": 4, + "useTabs": false, + "trailingComma": "es5", + "singleQuote": true +}