diff --git a/.gitignore b/.gitignore index 865a89132..64ef31b0e 100644 --- a/.gitignore +++ b/.gitignore @@ -98,5 +98,6 @@ _build docker-bake.*.json metadata.json -# Eslint +# Linting .eslintcache +tsconfig.tsbuildinfo diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e2fe5bf1d..939bd0009 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -32,7 +32,9 @@ variables: paths: [front/node_modules] - key: prefix: front-lint - files: [front/.eslintcache] + files: + - front/.eslintcache + - front/tsconfig.tsbuildinfo # Cache for api related jobs # Include the python version to prevent loosing caches in the test matrix diff --git a/front/package.json b/front/package.json index dc9dcd987..a65cf07b4 100644 --- a/front/package.json +++ b/front/package.json @@ -12,7 +12,7 @@ "test": "vitest run", "test:unit": "vitest run --coverage", "lint": "eslint --cache --cache-strategy content --ext .ts,.js,.vue,.json,.html src test public/embed.html", - "lint:tsc": "vue-tsc --noEmit", + "lint:tsc": "vue-tsc --noEmit --incremental", "fix-fomantic-css": "scripts/fix-fomantic-css.sh", "postinstall": "yarn run fix-fomantic-css" },