Replaced uses of var with const/let
This commit is contained in:
@@ -14,8 +14,6 @@ module.exports = {
|
||||
// TODO: consider doing this in src files as well as specs
|
||||
'no-unused-vars': ['error', { args: 'after-used' }],
|
||||
|
||||
'no-var': 'error',
|
||||
|
||||
// Since linting is done at the end of the process and doesn't stop us
|
||||
// from running tests, it makes sense to fail if debugger statements
|
||||
// or console references are present.
|
||||
|
||||
@@ -3,7 +3,7 @@ const path = require('path'),
|
||||
jasmineBrowser = require('jasmine-browser-runner'),
|
||||
jasmineCore = require('../../lib/jasmine-core');
|
||||
|
||||
var config = require(path.resolve('spec/support/jasmine-browser.js'));
|
||||
const config = require(path.resolve('spec/support/jasmine-browser.js'));
|
||||
config.clearReporters = true;
|
||||
config.jasmineCore = jasmineCore;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user