From 3734485d3344126e1d82e60825375ab55b481f0b Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Sat, 27 Apr 2024 03:56:31 +0200 Subject: [PATCH] configured the project to conform to the line feeding of the editorconfig --- webclient/.editorconfig => .editorconfig | 0 .pre-commit-config.yaml | 2 ++ webclient/package.json | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) rename webclient/.editorconfig => .editorconfig (100%) diff --git a/webclient/.editorconfig b/.editorconfig similarity index 100% rename from webclient/.editorconfig rename to .editorconfig diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9edd06362..df70824bc 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -17,6 +17,8 @@ repos: - id: debug-statements - id: end-of-file-fixer - id: mixed-line-ending + args: + - --fix=lf - id: requirements-txt-fixer # only api - repo: local diff --git a/webclient/package.json b/webclient/package.json index d1ec0c088..64d9136e4 100644 --- a/webclient/package.json +++ b/webclient/package.json @@ -10,7 +10,7 @@ "type-check": "nuxt typecheck", "type-refresh": "openapi-typescript ../openapi.yaml --output ./api_types/index.ts --export-type --immutable-types --support-array-length && npm run format && npm run lint", "lint": "eslint . --ext .vue,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", - "format": "prettier --plugin=prettier-plugin-tailwindcss --end-of-line crlf --write ." + "format": "prettier --plugin=prettier-plugin-tailwindcss --end-of-line lf --write ." }, "dependencies": { "@headlessui/vue": "1.7.21",