Browse Source

Refs #31265 -- Updated .eslintignore to match eslint tests

David Smith 4 years ago
parent
commit
3a0ed0ce3f
2 changed files with 4 additions and 1 deletions
  1. 1 0
      .eslintignore
  2. 3 1
      Gruntfile.js

+ 1 - 0
.eslintignore

@@ -2,3 +2,4 @@
 **/vendor/**/*.js
 django/contrib/gis/templates/**/*.js
 node_modules/**.js
+tests/**/*.js

+ 3 - 1
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({