diff --git a/package.json b/package.json index 76a89539..03d693fa 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,7 @@ ], "scripts": { "prepublish": "safe-publish-latest", - "lint": "eslint .", + "lint": "eslint --ext=js,mjs .", "pretests-only": "cd ./test/resolver/nested_symlinks && node mylib/sync && node mylib/async", "tests-only": "tape test/*.js", "pretest": "npm run lint", @@ -63,7 +63,7 @@ "test:multirepo": "cd ./test/resolver/multirepo && npm install && npm test" }, "devDependencies": { - "@ljharb/eslint-config": "^15.1.0", + "@ljharb/eslint-config": "^16.0.0", "array.prototype.map": "^1.0.2", "eslint": "^6.8.0", "object-keys": "^1.1.1",