From 160ed424ae73f28588dcfe613953a280f0893bca Mon Sep 17 00:00:00 2001 From: garionion Date: Thu, 8 Apr 2021 14:27:50 +0200 Subject: [PATCH] fix formatting --- .drone.yml | 2 +- .gitlab-ci.yml | 4 ++-- .prettierignore | 2 ++ deployment/hosts.yml | 2 +- docker-compose.yml | 22 +++++++++++----------- package.json | 4 ++-- vite.config.ts | 4 ++-- 7 files changed, 21 insertions(+), 19 deletions(-) diff --git a/.drone.yml b/.drone.yml index b978000..04986c0 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,4 +7,4 @@ steps: commands: - npm install - npm run check - - npm run build \ No newline at end of file + - npm run build diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e5585b0..4804d05 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,8 +3,8 @@ stages: - deploy variables: - PY_COLORS: '1' - ANSIBLE_FORCE_COLOR: '1' + PY_COLORS: "1" + ANSIBLE_FORCE_COLOR: "1" ANSIBLE_PYTHON_INTERPRETER: auto_silent ANSIBLE_STDOUT_CALLBACK: debug diff --git a/.prettierignore b/.prettierignore index 1b07c39..03b50ef 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,3 +1,5 @@ # Ignore artifacts: build +dist +./src/assets/* coverage \ No newline at end of file diff --git a/deployment/hosts.yml b/deployment/hosts.yml index 45c6cea..042be54 100644 --- a/deployment/hosts.yml +++ b/deployment/hosts.yml @@ -6,5 +6,5 @@ all: ansible_host: 192.168.200.11 ansible_port: 22 ansible_user: root - ansible_ssh_extra_args: '-o StrictHostKeyChecking=no' + ansible_ssh_extra_args: "-o StrictHostKeyChecking=no" ansible_ssh_common_args: '-o ProxyCommand="ssh -o StrictHostKeyChecking=no -i "${ANSIBLE_SSH_KEY_PRIVATE}" -W %h:%p root@vserver8.alex-detsch.de -p 52"' diff --git a/docker-compose.yml b/docker-compose.yml index 83d560f..5af4a4f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,12 +1,12 @@ web: - image: registry.alex-detsch.de/fem/radiator/radiator-web - restart: always - healthcheck: - test: "curl localhost" - interval: "60s" - timeout: "3s" - start_period: "5s" - retries: 3 - stop_grace_period: 3s - ports: - - "1499:80" + image: registry.alex-detsch.de/fem/radiator/radiator-web + restart: always + healthcheck: + test: "curl localhost" + interval: "60s" + timeout: "3s" + start_period: "5s" + retries: 3 + stop_grace_period: 3s + ports: + - "1499:80" diff --git a/package.json b/package.json index bd9890c..122b85a 100644 --- a/package.json +++ b/package.json @@ -5,8 +5,8 @@ "dev": "vite", "build": "vue-tsc --noEmit && vite build", "serve": "vite preview", - "format": "npx prettier --write ./src/*", - "check": "prettier --check ./src/*" + "format": "npx prettier --write .", + "check": "prettier --check ." }, "dependencies": { "@vueuse/core": "^4.7.0", diff --git a/vite.config.ts b/vite.config.ts index d62c0c2..0a0850f 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -4,6 +4,6 @@ import vue from "@vitejs/plugin-vue"; export default defineConfig({ plugins: [vue()], define: { - __VUE_OPTIONS_API__: false - } + __VUE_OPTIONS_API__: false, + }, });