Added linting for JavaScript tests.

This commit is contained in:
Nik Nyby 2015-08-26 00:24:55 -04:00 committed by Tim Graham
parent 0e925de245
commit 722bf23518
10 changed files with 58 additions and 15 deletions

View file

@ -1,7 +1,13 @@
/* global module, test */
/* eslint global-strict: 0, strict: 0 */
'use strict';
module('admin.actions', {
beforeEach: function() {
// Number of results shown on page
/* eslint-disable */
window._actions_icnt = '100';
/* eslint-enable */
var $ = django.jQuery;
$('#qunit-fixture').append($('#result-table').text());