diff --git a/qutebrowser/javascript/position_caret.js b/qutebrowser/javascript/position_caret.js index 4f6c32380..c2df1cf1d 100644 --- a/qutebrowser/javascript/position_caret.js +++ b/qutebrowser/javascript/position_caret.js @@ -18,8 +18,6 @@ * along with qutebrowser. If not, see . */ -/* eslint-disable max-len */ - /** * Snippet to position caret at top of the page when caret mode is enabled. * Some code was borrowed from: @@ -28,8 +26,6 @@ * https://github.com/1995eaton/chromium-vim/blob/master/content_scripts/visual.js */ -/* eslint-enable max-len */ - "use strict"; (function() { diff --git a/scripts/dev/ci/travis_run.sh b/scripts/dev/ci/travis_run.sh index a1f498b62..46a64bc9c 100644 --- a/scripts/dev/ci/travis_run.sh +++ b/scripts/dev/ci/travis_run.sh @@ -5,7 +5,7 @@ if [[ $DOCKER ]]; then elif [[ $TESTENV == eslint ]]; then # Can't run this via tox as we can't easily install tox in the javascript travis env cd qutebrowser/javascript || exit 1 - eslint --color . + eslint --color --report-unused-disable-directives . else args=() [[ $TRAVIS_OS_NAME == osx ]] && args=('--qute-bdd-webengine' '--no-xvfb') diff --git a/tox.ini b/tox.ini index d1ac9fc2f..704e93744 100644 --- a/tox.ini +++ b/tox.ini @@ -274,4 +274,4 @@ commands = deps = whitelist_externals = eslint changedir = {toxinidir}/qutebrowser/javascript -commands = eslint --color . +commands = eslint --color --report-unused-disable-directives .