Преглед на файлове

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

David Smith преди 4 години
родител
ревизия
3a0ed0ce3f
променени са 2 файла, в които са добавени 4 реда и са изтрити 1 реда
  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({