瀏覽代碼

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({