Skip to content
Snippets Groups Projects
Commit 83e3c895 authored by Trygve Jørgensen's avatar Trygve Jørgensen
Browse files

chore(pipeline): updated pipeline to check for prettier formatting

parent 1b032429
No related branches found
No related tags found
Loading
Pipeline #274217 failed
......@@ -23,7 +23,7 @@ install:
format-code:
stage: lint_and_format
script:
- npm run format
- npm run format-test
lint-code:
stage: lint_and_format
......
......@@ -14,7 +14,8 @@
"type-check": "vue-tsc --build --force",
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
"test:coverage": "vitest run --coverage --environment jsdom",
"format": "prettier --write src/"
"format": "prettier --write src/",
"format-test": "prettier --check src/"
},
"dependencies": {
"pinia": "^2.1.7",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment