From 0a824c45ee09671ca74599fb91f1532cc321d956 Mon Sep 17 00:00:00 2001 From: Kyle Morel Date: Thu, 19 Oct 2023 13:25:50 -0700 Subject: [PATCH] Add some missed files --- .vscode/settings.json | 26 ++++++++++++++++++++++++++ app/.prettierignore | 29 +++++++++++++++++++++++++++++ app/.prettierrc | 13 +++++++++++++ 3 files changed, 68 insertions(+) create mode 100644 .vscode/settings.json create mode 100644 app/.prettierignore create mode 100644 app/.prettierrc diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..bc775e89 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,26 @@ +{ + "[html]": { + "editor.defaultFormatter": "vscode.html-language-features" + }, + "[javascript]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "[json]": { + "editor.defaultFormatter": "vscode.json-language-features" + }, + "[jsonc]": { + "editor.defaultFormatter": "vscode.json-language-features" + }, + "[typescript]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "[vue]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "coverage-gutters.showGutterCoverage": false, + "coverage-gutters.showLineCoverage": true, + "editor.defaultFormatter": "dbaeumer.vscode-eslint", + "editor.formatOnSave": true, + "eslint.format.enable": true, + "files.insertFinalNewline": true +} diff --git a/app/.prettierignore b/app/.prettierignore new file mode 100644 index 00000000..53d7d115 --- /dev/null +++ b/app/.prettierignore @@ -0,0 +1,29 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* + +build +node_modules +.DS_Store +dist +dist-ssr +coverage +*.local + +/cypress/videos/ +/cypress/screenshots/ + +# Editor directories and files +.vscode/* +!.vscode/extensions.json +.idea +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? diff --git a/app/.prettierrc b/app/.prettierrc new file mode 100644 index 00000000..a6b7a941 --- /dev/null +++ b/app/.prettierrc @@ -0,0 +1,13 @@ +{ + "arrowParens": "always", + "bracketSameLine": false, + "bracketSpacing": true, + "htmlWhitespaceSensitivity": "ignore", + "printWidth": 120, + "semi": true, + "singleAttributePerLine": true, + "singleQuote": true, + "tabWidth": 2, + "trailingComma": "none", + "useTabs": false +}