소스 검색

Refs #32165 -- Bumped minimum ESLint version to 7.16.0 to match pre-commit configuration.

Jon Dufresne 4 년 전
부모
커밋
dc2ddfe91a
2개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 0
      .eslintignore
  2. 2 2
      package.json

+ 1 - 0
.eslintignore

@@ -1,5 +1,6 @@
 **/*.min.js
 **/vendor/**/*.js
 django/contrib/gis/templates/**/*.js
+docs/_build/**/*.js
 node_modules/**.js
 tests/**/*.js

+ 2 - 2
package.json

@@ -2,14 +2,14 @@
   "name": "Django",
   "private": true,
   "scripts": {
-    "pretest": "eslint django/ js_tests/admin/ js_tests/gis/",
+    "pretest": "eslint .",
     "test": "grunt test --verbose"
   },
   "engines": {
     "npm": ">=1.3.0 <3.0.0"
   },
   "devDependencies": {
-    "eslint": "^6.8.0",
+    "eslint": "^7.16.0",
     "grunt": "^1.0.1",
     "grunt-cli": "^1.2.0",
     "grunt-contrib-qunit": "^4.0.0",