@html-validate/eslint-config 8.0.0 → 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.1",
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,9 +8939,9 @@ 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
8947
  "eslint-import-resolver-typescript": "4.4.4",
@@ -9384,18 +9384,12 @@ async function writeConfig(options, features) {
9384
9384
  if (features.cypress) {
9385
9385
  await ensureDependencyExists("@html-validate/eslint-config-cypress", options);
9386
9386
  }
9387
- if (features.angularjs) {
9388
- await ensureDependencyExists("@html-validate/eslint-config-angularjs", options);
9389
- }
9390
9387
  if (features.vitest) {
9391
9388
  await ensureDependencyExists("@html-validate/eslint-config-vitest", options);
9392
9389
  }
9393
9390
  if (features.vue) {
9394
9391
  await ensureDependencyExists("@html-validate/eslint-config-vue", options);
9395
9392
  }
9396
- if (features.protractor) {
9397
- await ensureDependencyExists("@html-validate/eslint-config-protractor", options);
9398
- }
9399
9393
  if (!options.dryRun) {
9400
9394
  return true;
9401
9395
  }
@@ -9410,10 +9404,8 @@ async function getFeatures(options, args2) {
9410
9404
  const pkg2 = JSON.parse(data);
9411
9405
  const deps = { ...pkg2.dependencies, ...pkg2.devDependencies };
9412
9406
  return {
9413
- angularjs: args2.angularjs ?? Boolean(deps.angular),
9414
9407
  cypress: args2.cypress ?? Boolean(deps.cypress),
9415
9408
  jest: args2.jest ?? Boolean(deps.jest),
9416
- protractor: args2.protractor ?? Boolean(deps.protractor),
9417
9409
  typeinfo: args2.typeinfo ?? (deps.typescript ? "./tsconfig.json" : false),
9418
9410
  typescript: args2.typescript ?? Boolean(deps.typescript),
9419
9411
  vitest: args2.vitest ?? Boolean(deps.vitest),
@@ -9457,12 +9449,6 @@ parser.add_argument("--disable-cypress", {
9457
9449
  dest: "cypress",
9458
9450
  help: "Disable Cypress support"
9459
9451
  });
9460
- parser.add_argument("--disable-protractor", {
9461
- action: "store_const",
9462
- const: false,
9463
- dest: "protractor",
9464
- help: "Disable Protractor support"
9465
- });
9466
9452
  parser.add_argument("--disable-jest", {
9467
9453
  action: "store_const",
9468
9454
  const: false,
@@ -9481,12 +9467,6 @@ parser.add_argument("--disable-typeinfo", {
9481
9467
  dest: "typeinfo",
9482
9468
  help: "Disable typescript typeinfo support"
9483
9469
  });
9484
- parser.add_argument("--disable-angularjs", {
9485
- action: "store_const",
9486
- const: false,
9487
- dest: "angularjs",
9488
- help: "Disable AngularJS support"
9489
- });
9490
9470
  parser.add_argument("--disable-vitest", {
9491
9471
  action: "store_const",
9492
9472
  const: false,
@@ -9505,12 +9485,6 @@ parser.add_argument("--enable-cypress", {
9505
9485
  dest: "cypress",
9506
9486
  help: "Enable Cypress support"
9507
9487
  });
9508
- parser.add_argument("--enable-protractor", {
9509
- action: "store_const",
9510
- const: true,
9511
- dest: "protractor",
9512
- help: "Enable Protractor support"
9513
- });
9514
9488
  parser.add_argument("--enable-jest", {
9515
9489
  action: "store_const",
9516
9490
  const: true,
@@ -9530,12 +9504,6 @@ parser.add_argument("--enable-typeinfo", {
9530
9504
  metavar: "TSCONFIG",
9531
9505
  help: "Enable typescript typeinfo support"
9532
9506
  });
9533
- parser.add_argument("--enable-angularjs", {
9534
- action: "store_const",
9535
- const: true,
9536
- dest: "angularjs",
9537
- help: "Enable AngularJS support"
9538
- });
9539
9507
  parser.add_argument("--enable-vitest", {
9540
9508
  action: "store_const",
9541
9509
  const: true,