mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 06:24:08 +00:00
build: Enable jscs jsDoc rules 'checkRedundant*' and make pass
Change-Id: I36262ee1fe6116749586014fd30df3e00733fa6c
This commit is contained in:
parent
00d3226be1
commit
9e7041f925
2
.jscsrc
2
.jscsrc
|
@ -11,6 +11,8 @@
|
|||
}
|
||||
},
|
||||
"checkParamNames": true,
|
||||
"checkRedundantAccess": true,
|
||||
"checkRedundantReturns": true,
|
||||
"requireNewlineAfterDescription": true
|
||||
}
|
||||
}
|
||||
|
|
|
@ -316,8 +316,6 @@ ve.dm.MWTemplateModel.prototype.addPromptedParameters = function () {
|
|||
|
||||
/**
|
||||
* Set original data, to be used as a base for serialization.
|
||||
*
|
||||
* @return {Object} Template data
|
||||
*/
|
||||
ve.dm.MWTemplateModel.prototype.setOriginalData = function ( data ) {
|
||||
this.originalData = data;
|
||||
|
|
Loading…
Reference in a new issue