Add cypress eslint config

This commit is contained in:
William Buezas 2024-10-07 08:34:55 -03:00
parent 57e1f66a94
commit 1cbbc092be
3 changed files with 99 additions and 274 deletions

View File

@ -68,7 +68,8 @@ module.exports = {
// 'plugin:vue/vue3-recommended', // Priority C: Recommended (Minimizing Arbitrary Choices and Cognitive Overhead)
// https://github.com/prettier/eslint-config-prettier#installation
// usage with Prettier, provided by 'eslint-config-prettier'.
'prettier'
'prettier',
'plugin:cypress/recommended'
],
rules: {
semi: 'off',

368
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -58,6 +58,7 @@
"mootools": "^1.5.2",
"pinia": "^2.0.11",
"promise-polyfill": "^8.2.3",
"eslint-plugin-cypress": "^2.13.3",
"quasar": "^2.6.0",
"require-yaml": "0.0.1",
"tinymce": "^6.3.0",
@ -69,6 +70,7 @@
"front": "webpack serve --open",
"back": "cd ../vn-database && myvc start && cd ../salix && gulp backOnly",
"cy:open": "cypress open",
"test:e2e": "cypress run",
"build": "rm -rf build/ ; webpack",
"clean": "rm -rf build/",
"lint": "eslint --ext .js,.vue ./"