Add cypress eslint config
This commit is contained in:
parent
57e1f66a94
commit
1cbbc092be
|
@ -68,7 +68,8 @@ module.exports = {
|
||||||
// 'plugin:vue/vue3-recommended', // Priority C: Recommended (Minimizing Arbitrary Choices and Cognitive Overhead)
|
// 'plugin:vue/vue3-recommended', // Priority C: Recommended (Minimizing Arbitrary Choices and Cognitive Overhead)
|
||||||
// https://github.com/prettier/eslint-config-prettier#installation
|
// https://github.com/prettier/eslint-config-prettier#installation
|
||||||
// usage with Prettier, provided by 'eslint-config-prettier'.
|
// usage with Prettier, provided by 'eslint-config-prettier'.
|
||||||
'prettier'
|
'prettier',
|
||||||
|
'plugin:cypress/recommended'
|
||||||
],
|
],
|
||||||
rules: {
|
rules: {
|
||||||
semi: 'off',
|
semi: 'off',
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -58,6 +58,7 @@
|
||||||
"mootools": "^1.5.2",
|
"mootools": "^1.5.2",
|
||||||
"pinia": "^2.0.11",
|
"pinia": "^2.0.11",
|
||||||
"promise-polyfill": "^8.2.3",
|
"promise-polyfill": "^8.2.3",
|
||||||
|
"eslint-plugin-cypress": "^2.13.3",
|
||||||
"quasar": "^2.6.0",
|
"quasar": "^2.6.0",
|
||||||
"require-yaml": "0.0.1",
|
"require-yaml": "0.0.1",
|
||||||
"tinymce": "^6.3.0",
|
"tinymce": "^6.3.0",
|
||||||
|
@ -69,6 +70,7 @@
|
||||||
"front": "webpack serve --open",
|
"front": "webpack serve --open",
|
||||||
"back": "cd ../vn-database && myvc start && cd ../salix && gulp backOnly",
|
"back": "cd ../vn-database && myvc start && cd ../salix && gulp backOnly",
|
||||||
"cy:open": "cypress open",
|
"cy:open": "cypress open",
|
||||||
|
"test:e2e": "cypress run",
|
||||||
"build": "rm -rf build/ ; webpack",
|
"build": "rm -rf build/ ; webpack",
|
||||||
"clean": "rm -rf build/",
|
"clean": "rm -rf build/",
|
||||||
"lint": "eslint --ext .js,.vue ./"
|
"lint": "eslint --ext .js,.vue ./"
|
||||||
|
|
Loading…
Reference in New Issue