build: Update eslint-config-wikimedia to 0.16.2

Use jsduck config

Change-Id: I5cd7bbcee83b0fa148b8fb8c3b4adcf08f96cefc
This commit is contained in:
Ed Sanders 2020-06-18 19:16:52 +01:00
parent ae0d905bab
commit 013b7419bf
8 changed files with 99 additions and 36 deletions

View file

@ -3,7 +3,8 @@
"extends": [
"wikimedia/client",
"wikimedia/jquery",
"wikimedia/mediawiki"
"wikimedia/mediawiki",
"wikimedia/jsduck"
],
"globals": {
"ve": "readonly",

View file

@ -131,7 +131,7 @@ ve.init.mw.DesktopArticleTarget.static.actionGroups = [
* receive a compatibility warning. Blacklisting is handled in DesktopArticleTarget.init.
*
* @static
* @property
* @property {Object}
*/
ve.init.mw.DesktopArticleTarget.static.compatibility = {
// The key is the browser name returned by jQuery.client

View file

@ -18,7 +18,7 @@
* actual MediaWiki integration and VisualEditor library.
*
* @class mw.libs.ve
* @alias ve.init.mw.DesktopArticleTarget.init
* @alternateClassName ve.init.mw.DesktopArticleTarget.init
* @singleton
*/
( function () {

View file

@ -25,12 +25,6 @@ OO.inheritClass( ve.ui.MWLinkAction, ve.ui.LinkAction );
/* Static Properties */
/**
* List of allowed methods for the action.
*
* @static
* @property
*/
ve.ui.MWLinkAction.static.methods = ve.ui.MWLinkAction.super.static.methods.concat( [ 'open', 'autolinkMagicLink' ] );
/* Static methods */

View file

@ -29,12 +29,6 @@ OO.inheritClass( ve.ui.MWSaveDialogAction, ve.ui.Action );
ve.ui.MWSaveDialogAction.static.name = 'mwSaveDialog';
/**
* List of allowed methods for the action.
*
* @static
* @property
*/
ve.ui.MWSaveDialogAction.static.methods = [ 'save', 'review', 'preview' ];
/* Methods */

View file

@ -26,12 +26,6 @@ OO.inheritClass( ve.ui.MWWikitextAction, ve.ui.Action );
ve.ui.MWWikitextAction.static.name = 'mwWikitext';
/**
* List of allowed methods for the action.
*
* @static
* @property
*/
ve.ui.MWWikitextAction.static.methods = [ 'toggleWrapSelection', 'wrapSelection', 'wrapLine' ];
/* Methods */

108
package-lock.json generated
View file

@ -2165,22 +2165,95 @@
}
},
"eslint-config-wikimedia": {
"version": "0.16.1",
"resolved": "https://registry.npmjs.org/eslint-config-wikimedia/-/eslint-config-wikimedia-0.16.1.tgz",
"integrity": "sha512-VFP+zOaehZgbcH1TCeH6iBZuYv83mZMvu+YYntblbmFrw36Oo9lcNWiUL95SAE+5JtkGtAy51NLE1T61XJYn5w==",
"version": "0.16.2",
"resolved": "https://registry.npmjs.org/eslint-config-wikimedia/-/eslint-config-wikimedia-0.16.2.tgz",
"integrity": "sha512-tQikCZT2k3z9UzvRDFAUOpVSwE/MEmKIUQQraFh9tgyPOmRY6fVkMONcFqdEuz8eyg2syW9MNvT2d1SGSMLfBg==",
"dev": true,
"requires": {
"eslint": "^7.1.0",
"eslint": "^7.2.0",
"eslint-plugin-es": "^3.0.1",
"eslint-plugin-jsdoc": "^26.0.0",
"eslint-plugin-jsdoc": "^27.1.2",
"eslint-plugin-json": "^2.1.1",
"eslint-plugin-mediawiki": "^0.2.4",
"eslint-plugin-mediawiki": "^0.2.5",
"eslint-plugin-mocha": "^7.0.1",
"eslint-plugin-no-jquery": "^2.4.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-qunit": "^4.2.0",
"eslint-plugin-vue": "^6.2.2",
"eslint-plugin-wdio": "^6.0.12"
},
"dependencies": {
"eslint": {
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/eslint/-/eslint-7.2.0.tgz",
"integrity": "sha512-B3BtEyaDKC5MlfDa2Ha8/D6DsS4fju95zs0hjS3HdGazw+LNayai38A25qMppK37wWGWNYSPOR6oYzlz5MHsRQ==",
"dev": true,
"requires": {
"@babel/code-frame": "^7.0.0",
"ajv": "^6.10.0",
"chalk": "^4.0.0",
"cross-spawn": "^7.0.2",
"debug": "^4.0.1",
"doctrine": "^3.0.0",
"eslint-scope": "^5.1.0",
"eslint-utils": "^2.0.0",
"eslint-visitor-keys": "^1.2.0",
"espree": "^7.1.0",
"esquery": "^1.2.0",
"esutils": "^2.0.2",
"file-entry-cache": "^5.0.1",
"functional-red-black-tree": "^1.0.1",
"glob-parent": "^5.0.0",
"globals": "^12.1.0",
"ignore": "^4.0.6",
"import-fresh": "^3.0.0",
"imurmurhash": "^0.1.4",
"inquirer": "^7.0.0",
"is-glob": "^4.0.0",
"js-yaml": "^3.13.1",
"json-stable-stringify-without-jsonify": "^1.0.1",
"levn": "^0.4.1",
"lodash": "^4.17.14",
"minimatch": "^3.0.4",
"natural-compare": "^1.4.0",
"optionator": "^0.9.1",
"progress": "^2.0.0",
"regexpp": "^3.1.0",
"semver": "^7.2.1",
"strip-ansi": "^6.0.0",
"strip-json-comments": "^3.1.0",
"table": "^5.2.3",
"text-table": "^0.2.0",
"v8-compile-cache": "^2.0.3"
}
},
"eslint-scope": {
"version": "5.1.0",
"resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.0.tgz",
"integrity": "sha512-iiGRvtxWqgtx5m8EyQUJihBloE4EnYeGE/bz1wSPwJE6tZuJUtHlhqDM4Xj2ukE8Dyy1+HCZ4hE0fzIVMzb58w==",
"dev": true,
"requires": {
"esrecurse": "^4.1.0",
"estraverse": "^4.1.1"
}
},
"eslint-visitor-keys": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.2.0.tgz",
"integrity": "sha512-WFb4ihckKil6hu3Dp798xdzSfddwKKU3+nGniKF6HfeW6OLd2OUDEPP7TcHtB5+QXOKg2s6B2DaMPE1Nn/kxKQ==",
"dev": true
},
"espree": {
"version": "7.1.0",
"resolved": "https://registry.npmjs.org/espree/-/espree-7.1.0.tgz",
"integrity": "sha512-dcorZSyfmm4WTuTnE5Y7MEN1DyoPYy1ZR783QW1FJoenn7RailyWFsq/UL6ZAAA7uXurN9FIpYyUs3OfiIW+Qw==",
"dev": true,
"requires": {
"acorn": "^7.2.0",
"acorn-jsx": "^5.2.0",
"eslint-visitor-keys": "^1.2.0"
}
}
}
},
"eslint-plugin-es": {
@ -2194,12 +2267,12 @@
}
},
"eslint-plugin-jsdoc": {
"version": "26.0.2",
"resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-26.0.2.tgz",
"integrity": "sha512-KtZjqtM3Z8x84vQBFKGUyBbZRGXYHVWSJ2XyYSUTc8KhfFrvzQ/GXPp6f1M1/YCNzP3ImD5RuDNcr+OVvIZcBA==",
"version": "27.1.2",
"resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-27.1.2.tgz",
"integrity": "sha512-iWrG2ZK4xrxamoMkoyzgkukdmfqWc5Ncd6K+CnwRgxrbwjQQpzmt5Kl8GB0l12R0oUK2AF+9tGFJKNGzuyz79Q==",
"dev": true,
"requires": {
"comment-parser": "^0.7.4",
"comment-parser": "^0.7.5",
"debug": "^4.1.1",
"jsdoctypeparser": "^6.1.0",
"lodash": "^4.17.15",
@ -2227,12 +2300,13 @@
}
},
"eslint-plugin-mediawiki": {
"version": "0.2.4",
"resolved": "https://registry.npmjs.org/eslint-plugin-mediawiki/-/eslint-plugin-mediawiki-0.2.4.tgz",
"integrity": "sha512-tvvLPTwXp5YpCh3tbfSq/tOFRRcgrje1GVOz+91qBzuHOY6gHOesXQSrryeG33rbbRztktIa7IggpWmi2Rsu3A==",
"version": "0.2.5",
"resolved": "https://registry.npmjs.org/eslint-plugin-mediawiki/-/eslint-plugin-mediawiki-0.2.5.tgz",
"integrity": "sha512-Xs5G4f1EnS6+9gFWkk28nWA9xcOEPx7YZEGsMYGLelZRAF+2DmV/PigF5N5VqoOkNBpwcbXqLD8wLfkg29aF8w==",
"dev": true,
"requires": {
"eslint-plugin-vue": "^6.2.2"
"eslint-plugin-vue": "^6.2.2",
"upath": "^1.2.0"
}
},
"eslint-plugin-mocha": {
@ -6745,6 +6819,12 @@
"integrity": "sha1-j97XMk7G6IoP+LkF58CYzcCG1UQ=",
"dev": true
},
"upath": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/upath/-/upath-1.2.0.tgz",
"integrity": "sha512-aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg==",
"dev": true
},
"uri-js": {
"version": "4.2.2",
"resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz",

View file

@ -10,7 +10,7 @@
"screenshots-all": "grunt screenshots-all"
},
"devDependencies": {
"eslint-config-wikimedia": "0.16.1",
"eslint-config-wikimedia": "0.16.2",
"grunt": "1.1.0",
"grunt-banana-checker": "0.9.0",
"grunt-contrib-copy": "1.0.0",