diff --git a/.eslintrc.js b/.eslintrc.js index 3a676f5dc..3a012201c 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,5 +1,5 @@ module.exports = { extends: [ - 'nextcloud' - ] -}; + '@nextcloud', + ], +} diff --git a/package-lock.json b/package-lock.json index 9b8e80df1..75183a1a8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1564,6 +1564,27 @@ "core-js": "^3.5.0" } }, + "@nextcloud/browserslist-config": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@nextcloud/browserslist-config/-/browserslist-config-1.0.0.tgz", + "integrity": "sha512-f+sKpdLZXkODV+OY39K1M+Spmd4RgxmtEXmNn4Bviv4R7uBFHXuw+JX9ZdfDeOryfHjJ/TRQxQEp0GMpBwZFUw==", + "dev": true + }, + "@nextcloud/eslint-config": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@nextcloud/eslint-config/-/eslint-config-1.1.0.tgz", + "integrity": "sha512-Ell1SygjViw+JNCadtu5vqnfR29kxFTYdjvmVv1i3/jCZl9CcZZBmPeXQ5cFWvOY0pKJhJZcab1wRHqANXBDaw==", + "dev": true + }, + "@nextcloud/eslint-plugin": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@nextcloud/eslint-plugin/-/eslint-plugin-1.1.0.tgz", + "integrity": "sha512-EH9HpO28vEbBRLOREJpqwVEj9EMDedlgYP0IGwbWByF0ppD1lfz6eo4AbEPwtzJ3+B7chymvHMslPCmrYXzpSA==", + "dev": true, + "requires": { + "requireindex": "~1.2.0" + } + }, "@nextcloud/event-bus": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/@nextcloud/event-bus/-/event-bus-1.1.2.tgz", @@ -3095,12 +3116,6 @@ "node-releases": "^1.1.50" } }, - "browserslist-config-nextcloud": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/browserslist-config-nextcloud/-/browserslist-config-nextcloud-0.1.0.tgz", - "integrity": "sha512-ruAx5nBTtSLKel+eSw12C0ylGzzfy5loJcfe8gbZ5JoxjwVkpe4V5TX1EHrImTHzhYOA2dXTfHUcCvF174Y1jg==", - "dev": true - }, "bser": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/bser/-/bser-2.1.1.tgz", @@ -5031,12 +5046,6 @@ } } }, - "eslint-config-nextcloud": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/eslint-config-nextcloud/-/eslint-config-nextcloud-0.1.1.tgz", - "integrity": "sha512-/1VAkt7Y/m63eZfBiYkSzZMwQtmz0DFXuJnLebrzIY1GtpIj/Y3c//j4ZDiH5o0vbdn9laIc2Mb/01DIjzvt3g==", - "dev": true - }, "eslint-config-standard": { "version": "12.0.0", "resolved": "https://registry.npmjs.org/eslint-config-standard/-/eslint-config-standard-12.0.0.tgz", @@ -5226,15 +5235,6 @@ } } }, - "eslint-plugin-nextcloud": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-nextcloud/-/eslint-plugin-nextcloud-0.3.0.tgz", - "integrity": "sha512-LUD2qdirGL0BRt4uaMDGxen17mWVq9JwuGDt7P7Celz7bzdu0X48RrS8mhXn9e0w78+nYN5kPoULG2Bw04r4HA==", - "dev": true, - "requires": { - "requireindex": "~1.2.0" - } - }, "eslint-plugin-node": { "version": "11.0.0", "resolved": "https://registry.npmjs.org/eslint-plugin-node/-/eslint-plugin-node-11.0.0.tgz", diff --git a/package.json b/package.json index 0dda675f7..072e750a4 100644 --- a/package.json +++ b/package.json @@ -70,7 +70,7 @@ "vuex-router-sync": "^5.0.0" }, "browserslist": [ - "extends browserslist-config-nextcloud" + "extends @nextcloud/browserslist-config" ], "engines": { "node": ">=10.0.0" @@ -79,20 +79,20 @@ "@babel/core": "^7.8.6", "@babel/plugin-syntax-dynamic-import": "^7.8.3", "@babel/preset-env": "^7.8.6", + "@nextcloud/browserslist-config": "^1.0.0", + "@nextcloud/eslint-config": "^1.1.0", + "@nextcloud/eslint-plugin": "^1.1.0", "@vue/test-utils": "^1.0.0-beta.31", "babel-core": "^7.0.0-bridge.0", "babel-eslint": "^10.0.3", "babel-jest": "^25.1.0", "babel-loader": "^8.0.6", - "browserslist-config-nextcloud": "0.1.0", "css-loader": "^3.4.2", "eslint": "^5.16.0", - "eslint-config-nextcloud": "0.1.1", "eslint-config-standard": "^12.0.0", "eslint-friendly-formatter": "^4.0.1", "eslint-loader": "^3.0.3", "eslint-plugin-import": "^2.20.1", - "eslint-plugin-nextcloud": "^0.3.0", "eslint-plugin-node": "^11.0.0", "eslint-plugin-promise": "^4.2.1", "eslint-plugin-standard": "^4.0.1",