diff --git a/package.json b/package.json index 261069bdb3..a5bfc2e09e 100644 --- a/package.json +++ b/package.json @@ -47,54 +47,54 @@ ], "dependencies": { "@babel/helper-validator-identifier": "^7.19.1", - "@eslint-community/eslint-utils": "^4.1.2", - "ci-info": "^3.6.1", + "@eslint-community/eslint-utils": "^4.4.0", + "ci-info": "^3.8.0", "clean-regexp": "^1.0.0", - "esquery": "^1.4.0", + "esquery": "^1.5.0", "indent-string": "^4.0.0", - "is-builtin-module": "^3.2.0", + "is-builtin-module": "^3.2.1", "jsesc": "^3.0.2", "lodash": "^4.17.21", "pluralize": "^8.0.0", "read-pkg-up": "^7.0.1", "regexp-tree": "^0.1.24", - "regjsparser": "^0.9.1", + "regjsparser": "^0.10.0", "safe-regex": "^2.1.1", "semver": "^7.3.8", "strip-indent": "^3.0.0" }, "devDependencies": { - "@babel/code-frame": "^7.18.6", - "@babel/core": "^7.20.2", - "@babel/eslint-parser": "^7.19.1", + "@babel/code-frame": "^7.21.4", + "@babel/core": "^7.21.4", + "@babel/eslint-parser": "^7.21.3", "@lubien/fixture-beta-package": "^1.0.0-beta.1", - "@typescript-eslint/parser": "^5.43.0", + "@typescript-eslint/parser": "^5.57.1", "ava": "^3.15.0", - "c8": "^7.12.0", - "chalk": "^5.1.2", + "c8": "^7.13.0", + "chalk": "^5.2.0", "enquirer": "^2.3.6", - "eslint": "^8.28.0", + "eslint": "^8.37.0", "eslint-ava-rule-tester": "^4.0.0", - "eslint-doc-generator": "^1.0.0", - "eslint-plugin-eslint-plugin": "^5.0.6", + "eslint-doc-generator": "^1.4.3", + "eslint-plugin-eslint-plugin": "^5.0.8", "eslint-plugin-internal-rules": "file:./scripts/internal-rules/", "eslint-remote-tester": "^3.0.0", - "eslint-remote-tester-repositories": "^1.0.0", - "execa": "^6.1.0", + "eslint-remote-tester-repositories": "^1.0.1", + "execa": "^7.1.1", "listr": "^0.14.3", "lodash-es": "^4.17.21", - "markdownlint-cli": "^0.32.2", + "markdownlint-cli": "^0.33.0", "mem": "^9.0.2", - "npm-package-json-lint": "^6.3.0", + "npm-package-json-lint": "^6.4.0", "npm-run-all": "^4.1.5", "outdent": "^0.8.0", - "typescript": "^4.9.3", - "vue-eslint-parser": "^9.1.0", - "xo": "^0.53.1", - "yaml": "^2.1.3" + "typescript": "^5.0.3", + "vue-eslint-parser": "^9.1.1", + "xo": "^0.54.0", + "yaml": "^2.2.1" }, "peerDependencies": { - "eslint": ">=8.28.0" + "eslint": ">=8.37.0" }, "ava": { "files": [ @@ -127,7 +127,8 @@ "flatten" ] } - ] + ], + "import/order": "off" }, "overrides": [ { diff --git a/rules/prevent-abbreviations.js b/rules/prevent-abbreviations.js index 60fe4643b2..8a61118833 100644 --- a/rules/prevent-abbreviations.js +++ b/rules/prevent-abbreviations.js @@ -1,7 +1,6 @@ 'use strict'; const path = require('node:path'); const {defaultsDeep, upperFirst, lowerFirst} = require('lodash'); - const avoidCapture = require('./utils/avoid-capture.js'); const cartesianProductSamples = require('./utils/cartesian-product-samples.js'); const isShorthandPropertyValue = require('./utils/is-shorthand-property-value.js'); diff --git a/test/prefer-node-protocol.mjs b/test/prefer-node-protocol.mjs index 23ade4b65f..4c216194ed 100644 --- a/test/prefer-node-protocol.mjs +++ b/test/prefer-node-protocol.mjs @@ -24,6 +24,7 @@ test.snapshot({ const fs = await import(\`fs\`); } `, + 'import "punycode/";', ], invalid: [ 'import fs from "fs";',