From 5f8db7781e9eb0fe1122a146b1ca810a37dcf96c Mon Sep 17 00:00:00 2001 From: Till Wittenburg Date: Sat, 9 Sep 2023 15:04:45 +0200 Subject: [PATCH] chore: fix linting --- .github/workflows/ci.yml | 10 +++--- package.json | 68 ++++++++++++++++++++-------------------- 2 files changed, 39 insertions(+), 39 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f18dfc3..ce1d345 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,8 +3,8 @@ name: Karman Web CI on: pull_request: push: - branches: [ main ] - tags: [ "*" ] + branches: [main] + tags: ["*"] jobs: type-check: @@ -40,7 +40,7 @@ jobs: test: name: Test runs-on: ubuntu-latest - needs: [ type-check, lint ] + needs: [type-check, lint] steps: - name: Check Out Code uses: actions/checkout@v3 @@ -56,7 +56,7 @@ jobs: test-build: name: Test Build runs-on: ubuntu-latest - needs: [ type-check, lint ] + needs: [type-check, lint] steps: - name: Check Out Code uses: actions/checkout@v3 @@ -73,7 +73,7 @@ jobs: name: Publish runs-on: ubuntu-latest if: ${{ github.event_name == 'push' }} - needs: [ test, test-build ] + needs: [test, test-build] steps: - name: Docker Meta id: meta diff --git a/package.json b/package.json index 93808d6..c72a5b0 100644 --- a/package.json +++ b/package.json @@ -1,36 +1,36 @@ { - "name": "karman-web", - "version": "0.0.1", - "private": true, - "scripts": { - "dev": "vite dev", - "build": "vite build", - "preview": "vite preview", - "check": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json", - "check:watch": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json --watch", - "lint": "prettier --plugin prettier-plugin-svelte --plugin prettier-plugin-tailwindcss --check . && eslint .", - "format": "prettier --plugin prettier-plugin-svelte --plugin prettier-plugin-tailwindcss --write ." - }, - "devDependencies": { - "@sveltejs/kit": "^1.24.1", - "autoprefixer": "^10.4.15", - "eslint": "^8.49.0", - "eslint-config-prettier": "^9.0.0", - "eslint-plugin-svelte": "^2.33.0", - "postcss": "^8.4.29", - "postcss-load-config": "^4.0.1", - "prettier": "^3.0.3", - "prettier-plugin-svelte": "^3.0.3", - "prettier-plugin-tailwindcss": "^0.5.4", - "svelte": "^4.2.0", - "svelte-adapter-bun": "^0.5.0", - "svelte-check": "^3.5.1", - "tailwindcss": "^3.3.3", - "typescript": "^5.2.2", - "vite": "^4.4.9" - }, - "type": "module", - "dependencies": { - "flowbite": "^1.8.1" - } + "name": "karman-web", + "version": "0.0.1", + "private": true, + "scripts": { + "dev": "vite dev", + "build": "vite build", + "preview": "vite preview", + "check": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json", + "check:watch": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json --watch", + "lint": "prettier --plugin prettier-plugin-svelte --plugin prettier-plugin-tailwindcss --check . && eslint .", + "format": "prettier --plugin prettier-plugin-svelte --plugin prettier-plugin-tailwindcss --write ." + }, + "devDependencies": { + "@sveltejs/kit": "^1.24.1", + "autoprefixer": "^10.4.15", + "eslint": "^8.49.0", + "eslint-config-prettier": "^9.0.0", + "eslint-plugin-svelte": "^2.33.0", + "postcss": "^8.4.29", + "postcss-load-config": "^4.0.1", + "prettier": "^3.0.3", + "prettier-plugin-svelte": "^3.0.3", + "prettier-plugin-tailwindcss": "^0.5.4", + "svelte": "^4.2.0", + "svelte-adapter-bun": "^0.5.0", + "svelte-check": "^3.5.1", + "tailwindcss": "^3.3.3", + "typescript": "^5.2.2", + "vite": "^4.4.9" + }, + "type": "module", + "dependencies": { + "flowbite": "^1.8.1" + } }