From 3a0ed0ce3f2e38c4336da6d68d901c6f3d5926dc Mon Sep 17 00:00:00 2001 From: David Smith Date: Tue, 15 Dec 2020 20:31:02 +0000 Subject: [PATCH] Refs #31265 -- Updated .eslintignore to match eslint tests --- .eslintignore | 1 + Gruntfile.js | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.eslintignore b/.eslintignore index 7db92663051..ede7dfff5cd 100644 --- a/.eslintignore +++ b/.eslintignore @@ -2,3 +2,4 @@ **/vendor/**/*.js django/contrib/gis/templates/**/*.js node_modules/**.js +tests/**/*.js diff --git a/Gruntfile.js b/Gruntfile.js index 2bf8a10c81b..2d99041cb87 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -1,4 +1,6 @@ -var globalThreshold = 50; // Global code coverage threshold (as a percentage) +'use strict'; + +const globalThreshold = 50; // Global code coverage threshold (as a percentage) module.exports = function(grunt) { grunt.initConfig({