From 2a9e512a6542ee1518cd1ca5ea1e5cd55272c6cc Mon Sep 17 00:00:00 2001 From: Manoah Tervoort <149895ja@gmail.com> Date: Wed, 30 Oct 2024 12:46:34 +0100 Subject: [PATCH] chore: use prettierignore --- .prettierignore | 64 +++++++++++++++++++++++++++++++++++++++++++++++++ package.json | 2 +- 2 files changed, 65 insertions(+), 1 deletion(-) create mode 100644 .prettierignore diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000000..7ae0c740ae --- /dev/null +++ b/.prettierignore @@ -0,0 +1,64 @@ +.DS_Store +.thumbs.db +node_modules + +# Quasar core related directories +.quasar +/dist +/quasar.config.*.temporary.compiled* + +# Cordova related directories and files +/src-cordova/node_modules +/src-cordova/platforms +/src-cordova/plugins +/src-cordova/www + +# Capacitor related directories and files +/src-capacitor/www +/src-capacitor/node_modules + +# BEX related directories and files +/src-bex/www +/src-bex/js/core + +# Log files +npm-debug.log* +yarn-debug.log* +yarn-error.log* + +# Editor directories and files +.idea +*.suo +*.ntvs* +*.njsproj +*.sln + +# local .env files +.env* +!.env.example + +# Sentry Config File +.env.sentry-build-plugin + +# Yarn files +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/sdks +!.yarn/versions +.yarn/install-state.gz + +# VitePress +docs/.vitepress/dist +docs/.vitepress/cache + +# Output of 'yarn icons' +src/css/mmm-icons.* + +# Custom dep helper script +depChecker.js + +# Generated files +LICENCE.md diff --git a/package.json b/package.json index 41018f40ed..2eb3025b09 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "docs:dev": "vitepress dev docs", "docs:build": "vitepress build docs", "docs:preview": "vitepress preview docs", - "format": "prettier \"**/*\" --ignore-path .gitignore --ignore-unknown --write", + "format": "prettier \"**/*\" --ignore-unknown --write", "lint": "eslint --ext .js,.ts,.mjs,.mts,.vue ./", "type-check": "vue-tsc --noEmit -p tsconfig.vue-tsc.json", "test": "echo \"No test specified\" && exit 0"