Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.eslintrc.js5
-rw-r--r--cypress/.eslintrc.json5
-rw-r--r--package-lock.json34
-rw-r--r--package.json1
4 files changed, 37 insertions, 8 deletions
diff --git a/.eslintrc.js b/.eslintrc.js
index a1b2c4a1e..130810f2a 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -1,5 +1,6 @@
module.exports = {
+ root: true,
extends: [
- '@nextcloud'
- ]
+ '@nextcloud',
+ ],
}
diff --git a/cypress/.eslintrc.json b/cypress/.eslintrc.json
new file mode 100644
index 000000000..ba9e633eb
--- /dev/null
+++ b/cypress/.eslintrc.json
@@ -0,0 +1,5 @@
+{
+ "extends": [
+ "plugin:cypress/recommended"
+ ]
+}
diff --git a/package-lock.json b/package-lock.json
index 6e5bdadad..61b24eaef 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -80,6 +80,7 @@
"babel-core": "^7.0.0-bridge.0",
"cypress": "^9.5.1",
"cypress-file-upload": "^5.0.8",
+ "eslint-plugin-cypress": "^2.12.1",
"jest": "^27.5.1",
"jest-environment-jsdom": "^27.5.1",
"jest-serializer-vue": "^2.0.2",
@@ -3283,9 +3284,9 @@
}
},
"node_modules/@nextcloud/vue/node_modules/ansi-regex": {
- "version": "6.0.0",
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.0.tgz",
- "integrity": "sha512-tAaOSrWCHF+1Ear1Z4wnJCXA9GGox4K6Ic85a5qalES2aeEwQGr7UC93mwef49536PkCYjzkp0zIxfFvexJ6zQ==",
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz",
+ "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==",
"engines": {
"node": ">=12"
},
@@ -8602,6 +8603,18 @@
"ms": "^2.1.1"
}
},
+ "node_modules/eslint-plugin-cypress": {
+ "version": "2.12.1",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-cypress/-/eslint-plugin-cypress-2.12.1.tgz",
+ "integrity": "sha512-c2W/uPADl5kospNDihgiLc7n87t5XhUbFDoTl6CfVkmG+kDAb5Ux10V9PoLPu9N+r7znpc+iQlcmAqT1A/89HA==",
+ "dev": true,
+ "dependencies": {
+ "globals": "^11.12.0"
+ },
+ "peerDependencies": {
+ "eslint": ">= 3.2.1"
+ }
+ },
"node_modules/eslint-plugin-es": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/eslint-plugin-es/-/eslint-plugin-es-4.1.0.tgz",
@@ -23797,9 +23810,9 @@
},
"dependencies": {
"ansi-regex": {
- "version": "6.0.0",
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.0.tgz",
- "integrity": "sha512-tAaOSrWCHF+1Ear1Z4wnJCXA9GGox4K6Ic85a5qalES2aeEwQGr7UC93mwef49536PkCYjzkp0zIxfFvexJ6zQ=="
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz",
+ "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA=="
},
"char-regex": {
"version": "2.0.0",
@@ -28187,6 +28200,15 @@
}
}
},
+ "eslint-plugin-cypress": {
+ "version": "2.12.1",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-cypress/-/eslint-plugin-cypress-2.12.1.tgz",
+ "integrity": "sha512-c2W/uPADl5kospNDihgiLc7n87t5XhUbFDoTl6CfVkmG+kDAb5Ux10V9PoLPu9N+r7znpc+iQlcmAqT1A/89HA==",
+ "dev": true,
+ "requires": {
+ "globals": "^11.12.0"
+ }
+ },
"eslint-plugin-es": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/eslint-plugin-es/-/eslint-plugin-es-4.1.0.tgz",
diff --git a/package.json b/package.json
index 3b0ed071f..417a5193d 100644
--- a/package.json
+++ b/package.json
@@ -101,6 +101,7 @@
"babel-core": "^7.0.0-bridge.0",
"cypress": "^9.5.1",
"cypress-file-upload": "^5.0.8",
+ "eslint-plugin-cypress": "^2.12.1",
"jest": "^27.5.1",
"jest-environment-jsdom": "^27.5.1",
"jest-serializer-vue": "^2.0.2",