From 1cf4a2eb29945f7ab4c4cd4d3408b2928fc7f664 Mon Sep 17 00:00:00 2001 From: Vitaly Kramskikh Date: Fri, 15 Jan 2016 01:45:43 +0300 Subject: [PATCH] Get rid of override of valid-jsdoc in eslintrc Change-Id: I5c030acb32bdd8db98c8aad9d401d0bc1aa3b5c1 --- nailgun/.eslintrc | 1 - nailgun/static/tests/functional/helpers.js | 7 +++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/nailgun/.eslintrc b/nailgun/.eslintrc index afa07acaf4..48d56a6350 100644 --- a/nailgun/.eslintrc +++ b/nailgun/.eslintrc @@ -20,7 +20,6 @@ # disabled rules from openstack config no-empty: 0 # we use empty blocks with try-catch no-extra-parens: 0 # extra parens are preferred with JSX - valid-jsdoc: 0 # eslint treats multiline comments as JSDoc consistent-return: 0 # we have lots of code where consistent return isn't needed curly: 0 # we're ok with one-line if operator-linebreak: 0 # disabled due to heavy use of ternary operator in JSX diff --git a/nailgun/static/tests/functional/helpers.js b/nailgun/static/tests/functional/helpers.js index b3a96d77a8..b89126974f 100644 --- a/nailgun/static/tests/functional/helpers.js +++ b/nailgun/static/tests/functional/helpers.js @@ -101,10 +101,9 @@ define([ .end(); }); }, - /** - * Drag-n-drop helpers - * Taken from not yet accepted pull request to leadfoot from https://github.com/theintern/leadfoot/pull/16 - */ + // Drag-n-drop helpers + // Taken from not yet accepted pull request to leadfoot from + // https://github.com/theintern/leadfoot/pull/16 dragFrom: function(element, x, y) { if (typeof element === 'number') { y = x;