summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.eslintignore1
-rw-r--r--package.json4
2 files changed, 3 insertions, 2 deletions
diff --git a/.eslintignore b/.eslintignore
index ede7dfff5c..9c273ed532 100644
--- a/.eslintignore
+++ b/.eslintignore
@@ -1,5 +1,6 @@
**/*.min.js
**/vendor/**/*.js
django/contrib/gis/templates/**/*.js
+docs/_build/**/*.js
node_modules/**.js
tests/**/*.js
diff --git a/package.json b/package.json
index 39f902f03d..8b444cc58a 100644
--- a/package.json
+++ b/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",