From aa4bdca2a6906a93e067814f3c733aa2f25e49f7 Mon Sep 17 00:00:00 2001 From: Kasper Seweryn Date: Sat, 3 Jun 2023 22:48:26 +0200 Subject: [PATCH] feat: add cypress test to linting Part-of: --- front/cypress/plugins/{index.js => index.ts} | 1 - front/package.json | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) rename front/cypress/plugins/{index.js => index.ts} (95%) diff --git a/front/cypress/plugins/index.js b/front/cypress/plugins/index.ts similarity index 95% rename from front/cypress/plugins/index.js rename to front/cypress/plugins/index.ts index 59b2bab6e..6b495580a 100644 --- a/front/cypress/plugins/index.js +++ b/front/cypress/plugins/index.ts @@ -1,4 +1,3 @@ -/// // *********************************************************** // This example plugins/index.js can be used to load plugins // diff --git a/front/package.json b/front/package.json index 17bfb750a..899af8952 100644 --- a/front/package.json +++ b/front/package.json @@ -11,8 +11,8 @@ "serve": "vite preview", "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 --incremental", + "lint": "eslint --cache --cache-strategy content --ext .ts,.js,.vue,.json,.html src test cypress public/embed.html", + "lint:tsc": "vue-tsc --noEmit --incremental && tsc --noEmit --incremental -p cypress", "fix-fomantic-css": "scripts/fix-fomantic-css.sh", "postinstall": "yarn run fix-fomantic-css" },