summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Smith <smithdc@gmail.com>2020-12-15 20:31:02 +0000
committerCarlton Gibson <carlton@noumenal.es>2020-12-23 11:14:48 +0100
commit3a0ed0ce3f2e38c4336da6d68d901c6f3d5926dc (patch)
treea51cea84355921ec680c8bf159925e1c049c1776
parentada83fd8b89ab194194c9069eef4d6ee6cbec0ee (diff)
Refs #31265 -- Updated .eslintignore to match eslint tests
-rw-r--r--.eslintignore1
-rw-r--r--Gruntfile.js4
2 files changed, 4 insertions, 1 deletions
diff --git a/.eslintignore b/.eslintignore
index 7db9266305..ede7dfff5c 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 2bf8a10c81..2d99041cb8 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({