feat: add cypress test to linting

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/1795>
This commit is contained in:
Kasper Seweryn 2023-06-03 22:48:26 +02:00
parent 9aeefca728
commit aa4bdca2a6
2 changed files with 2 additions and 3 deletions

View File

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

View File

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