feat: add cypress test to linting

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/1795>
environments/review-docs-merge-hoc7bt/deployments/18064
Kasper Seweryn 2023-06-03 22:48:26 +02:00
rodzic 9aeefca728
commit aa4bdca2a6
2 zmienionych plików z 2 dodań i 3 usunięć

Wyświetl plik

@ -1,4 +1,3 @@
/// <reference types="cypress" />
// ***********************************************************
// This example plugins/index.js can be used to load plugins
//

Wyświetl plik

@ -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"
},