@html-validate/eslint-config 7.1.1 → 9.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.mjs CHANGED
@@ -8902,7 +8902,7 @@ var require_package = __commonJS({
8902
8902
  "package.json"(exports, module) {
8903
8903
  module.exports = {
8904
8904
  name: "@html-validate/eslint-config",
8905
- version: "7.1.0",
8905
+ version: "8.0.0",
8906
8906
  description: "Eslint sharable config used by the various HTML-validate packages",
8907
8907
  keywords: [
8908
8908
  "eslint"
@@ -8939,15 +8939,14 @@ var require_package = __commonJS({
8939
8939
  },
8940
8940
  dependencies: {
8941
8941
  "@eslint-community/eslint-plugin-eslint-comments": "4.7.1",
8942
- "@eslint/js": "9.39.4",
8942
+ "@eslint/js": "10.0.1",
8943
8943
  argparse: "2.0.1",
8944
- eslint: "9.39.4",
8944
+ eslint: "10.3.0",
8945
8945
  "eslint-config-prettier": "10.1.8",
8946
8946
  "eslint-formatter-gitlab": "7.1.0",
8947
- "eslint-import-resolver-node": "0.3.10",
8948
8947
  "eslint-import-resolver-typescript": "4.4.4",
8949
8948
  "eslint-plugin-array-func": "5.1.1",
8950
- "eslint-plugin-import": "2.32.0",
8949
+ "eslint-plugin-import-x": "4.16.2",
8951
8950
  "eslint-plugin-n": "18.0.1",
8952
8951
  "eslint-plugin-prettier": "5.5.5",
8953
8952
  "eslint-plugin-security": "4.0.0",
@@ -9385,18 +9384,12 @@ async function writeConfig(options, features) {
9385
9384
  if (features.cypress) {
9386
9385
  await ensureDependencyExists("@html-validate/eslint-config-cypress", options);
9387
9386
  }
9388
- if (features.angularjs) {
9389
- await ensureDependencyExists("@html-validate/eslint-config-angularjs", options);
9390
- }
9391
9387
  if (features.vitest) {
9392
9388
  await ensureDependencyExists("@html-validate/eslint-config-vitest", options);
9393
9389
  }
9394
9390
  if (features.vue) {
9395
9391
  await ensureDependencyExists("@html-validate/eslint-config-vue", options);
9396
9392
  }
9397
- if (features.protractor) {
9398
- await ensureDependencyExists("@html-validate/eslint-config-protractor", options);
9399
- }
9400
9393
  if (!options.dryRun) {
9401
9394
  return true;
9402
9395
  }
@@ -9411,10 +9404,8 @@ async function getFeatures(options, args2) {
9411
9404
  const pkg2 = JSON.parse(data);
9412
9405
  const deps = { ...pkg2.dependencies, ...pkg2.devDependencies };
9413
9406
  return {
9414
- angularjs: args2.angularjs ?? Boolean(deps.angular),
9415
9407
  cypress: args2.cypress ?? Boolean(deps.cypress),
9416
9408
  jest: args2.jest ?? Boolean(deps.jest),
9417
- protractor: args2.protractor ?? Boolean(deps.protractor),
9418
9409
  typeinfo: args2.typeinfo ?? (deps.typescript ? "./tsconfig.json" : false),
9419
9410
  typescript: args2.typescript ?? Boolean(deps.typescript),
9420
9411
  vitest: args2.vitest ?? Boolean(deps.vitest),
@@ -9458,12 +9449,6 @@ parser.add_argument("--disable-cypress", {
9458
9449
  dest: "cypress",
9459
9450
  help: "Disable Cypress support"
9460
9451
  });
9461
- parser.add_argument("--disable-protractor", {
9462
- action: "store_const",
9463
- const: false,
9464
- dest: "protractor",
9465
- help: "Disable Protractor support"
9466
- });
9467
9452
  parser.add_argument("--disable-jest", {
9468
9453
  action: "store_const",
9469
9454
  const: false,
@@ -9482,12 +9467,6 @@ parser.add_argument("--disable-typeinfo", {
9482
9467
  dest: "typeinfo",
9483
9468
  help: "Disable typescript typeinfo support"
9484
9469
  });
9485
- parser.add_argument("--disable-angularjs", {
9486
- action: "store_const",
9487
- const: false,
9488
- dest: "angularjs",
9489
- help: "Disable AngularJS support"
9490
- });
9491
9470
  parser.add_argument("--disable-vitest", {
9492
9471
  action: "store_const",
9493
9472
  const: false,
@@ -9506,12 +9485,6 @@ parser.add_argument("--enable-cypress", {
9506
9485
  dest: "cypress",
9507
9486
  help: "Enable Cypress support"
9508
9487
  });
9509
- parser.add_argument("--enable-protractor", {
9510
- action: "store_const",
9511
- const: true,
9512
- dest: "protractor",
9513
- help: "Enable Protractor support"
9514
- });
9515
9488
  parser.add_argument("--enable-jest", {
9516
9489
  action: "store_const",
9517
9490
  const: true,
@@ -9531,12 +9504,6 @@ parser.add_argument("--enable-typeinfo", {
9531
9504
  metavar: "TSCONFIG",
9532
9505
  help: "Enable typescript typeinfo support"
9533
9506
  });
9534
- parser.add_argument("--enable-angularjs", {
9535
- action: "store_const",
9536
- const: true,
9537
- dest: "angularjs",
9538
- help: "Enable AngularJS support"
9539
- });
9540
9507
  parser.add_argument("--enable-vitest", {
9541
9508
  action: "store_const",
9542
9509
  const: true,