From 9e7041f925d79816ed0003e356e6ff6298113501 Mon Sep 17 00:00:00 2001 From: "James D. Forrester" Date: Wed, 19 Aug 2015 11:35:43 -0700 Subject: [PATCH] build: Enable jscs jsDoc rules 'checkRedundant*' and make pass Change-Id: I36262ee1fe6116749586014fd30df3e00733fa6c --- .jscsrc | 2 ++ modules/ve-mw/dm/models/ve.dm.MWTemplateModel.js | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.jscsrc b/.jscsrc index 0a38ab0b7e..43fbbebf61 100644 --- a/.jscsrc +++ b/.jscsrc @@ -11,6 +11,8 @@ } }, "checkParamNames": true, + "checkRedundantAccess": true, + "checkRedundantReturns": true, "requireNewlineAfterDescription": true } } diff --git a/modules/ve-mw/dm/models/ve.dm.MWTemplateModel.js b/modules/ve-mw/dm/models/ve.dm.MWTemplateModel.js index 049e29f0d2..8e440a3141 100644 --- a/modules/ve-mw/dm/models/ve.dm.MWTemplateModel.js +++ b/modules/ve-mw/dm/models/ve.dm.MWTemplateModel.js @@ -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;