eslint: Report unused disables
This commit is contained in:
parent
dca962ca03
commit
1a381bf0a5
@ -18,8 +18,6 @@
|
||||
* along with qutebrowser. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* 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() {
|
||||
|
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user