Merge "Get rid of override of valid-jsdoc in eslintrc"

This commit is contained in:
Jenkins 2016-01-15 10:13:46 +00:00 committed by Gerrit Code Review
commit b60c7c1c9d
2 changed files with 3 additions and 5 deletions

View File

@ -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

View File

@ -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;