@kitschpatrol/eslint-config 5.9.2 → 5.11.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/index.js CHANGED
@@ -387,6 +387,7 @@ var eslintTypescriptStrictTypeCheckedRules = {
387
387
  "ts/no-unused-vars": "error",
388
388
  "no-useless-constructor": "off",
389
389
  "ts/no-useless-constructor": "error",
390
+ "ts/no-useless-default-assignment": "error",
390
391
  "ts/no-wrapper-object-types": "error",
391
392
  "no-throw-literal": "off",
392
393
  "ts/only-throw-error": "error",
@@ -492,6 +493,7 @@ var eslintTypescriptDisableTypeCheckedRules = {
492
493
  "ts/no-unsafe-return": "off",
493
494
  "ts/no-unsafe-type-assertion": "off",
494
495
  "ts/no-unsafe-unary-minus": "off",
496
+ "ts/no-useless-default-assignment": "off",
495
497
  "ts/non-nullable-type-assertion-style": "off",
496
498
  "ts/only-throw-error": "off",
497
499
  "ts/prefer-destructuring": "off",
@@ -990,6 +992,8 @@ var perfectionistRecommendedNaturalRules = {
990
992
  // Begin expansion 'eslint-plugin-perfectionist' 'recommended-natural'
991
993
  "perfectionist/sort-variable-declarations": ["error", { type: "natural", order: "asc" }],
992
994
  "perfectionist/sort-intersection-types": ["error", { type: "natural", order: "asc" }],
995
+ "perfectionist/sort-import-attributes": ["error", { type: "natural", order: "asc" }],
996
+ "perfectionist/sort-export-attributes": ["error", { type: "natural", order: "asc" }],
993
997
  "perfectionist/sort-heritage-clauses": ["error", { type: "natural", order: "asc" }],
994
998
  "perfectionist/sort-array-includes": ["error", { type: "natural", order: "asc" }],
995
999
  "perfectionist/sort-named-imports": ["error", { type: "natural", order: "asc" }],
@@ -1580,6 +1584,7 @@ var testRecommendedRules = {
1580
1584
  "test/no-interpolation-in-snapshots": "error",
1581
1585
  "test/no-mocks-import": "error",
1582
1586
  "test/no-standalone-expect": "error",
1587
+ "test/no-unneeded-async-expect-function": "error",
1583
1588
  "test/prefer-called-exactly-once-with": "error",
1584
1589
  "test/require-local-test-context-for-concurrent-snapshots": "error",
1585
1590
  "test/valid-describe-callback": "error",
@@ -2427,22 +2432,24 @@ function toArray(value) {
2427
2432
  return Array.isArray(value) ? value : [value];
2428
2433
  }
2429
2434
  function generatePerfectionistSortConfig(strings, matchType = "exact") {
2430
- const customGroups = {};
2435
+ const customGroups = [];
2431
2436
  for (const string of strings) {
2437
+ let elementNamePattern;
2432
2438
  switch (matchType) {
2433
2439
  case "exact": {
2434
- customGroups[string] = `^${string}$`;
2440
+ elementNamePattern = `^${string}$`;
2435
2441
  break;
2436
2442
  }
2437
2443
  case "leading": {
2438
- customGroups[string] = `^${string}.*$`;
2444
+ elementNamePattern = `^${string}.*$`;
2439
2445
  break;
2440
2446
  }
2441
2447
  case "trailing": {
2442
- customGroups[string] = `^.*${string}$`;
2448
+ elementNamePattern = `^.*${string}$`;
2443
2449
  break;
2444
2450
  }
2445
2451
  }
2452
+ customGroups.push({ elementNamePattern, groupName: string });
2446
2453
  }
2447
2454
  const exactMatch = strings.join("|");
2448
2455
  let pattern;
@@ -2474,22 +2481,22 @@ import pluginEslintComments from "@eslint-community/eslint-plugin-eslint-comment
2474
2481
  import pluginTs from "@typescript-eslint/eslint-plugin";
2475
2482
  import { createTypeScriptImportResolver } from "eslint-import-resolver-typescript";
2476
2483
 
2477
- // ../../node_modules/.pnpm/eslint-plugin-de-morgan@2.0.0_eslint@9.39.1_jiti@2.6.1_/node_modules/eslint-plugin-de-morgan/dist/package.json.js
2484
+ // ../../node_modules/.pnpm/eslint-plugin-de-morgan@2.0.0_eslint@9.39.2_jiti@2.6.1_/node_modules/eslint-plugin-de-morgan/dist/package.json.js
2478
2485
  var name = "eslint-plugin-de-morgan";
2479
2486
  var version = "2.0.0";
2480
2487
  var repository = "azat-io/eslint-plugin-de-morgan";
2481
2488
 
2482
- // ../../node_modules/.pnpm/eslint-plugin-de-morgan@2.0.0_eslint@9.39.1_jiti@2.6.1_/node_modules/eslint-plugin-de-morgan/dist/utils/create-test-with-parameters.js
2489
+ // ../../node_modules/.pnpm/eslint-plugin-de-morgan@2.0.0_eslint@9.39.2_jiti@2.6.1_/node_modules/eslint-plugin-de-morgan/dist/utils/create-test-with-parameters.js
2483
2490
  function createTestWithParameters(...parameters) {
2484
2491
  return (...predicates) => predicates.every((predicate) => predicate(...parameters));
2485
2492
  }
2486
2493
 
2487
- // ../../node_modules/.pnpm/eslint-plugin-de-morgan@2.0.0_eslint@9.39.1_jiti@2.6.1_/node_modules/eslint-plugin-de-morgan/dist/utils/is-logical-expression.js
2494
+ // ../../node_modules/.pnpm/eslint-plugin-de-morgan@2.0.0_eslint@9.39.2_jiti@2.6.1_/node_modules/eslint-plugin-de-morgan/dist/utils/is-logical-expression.js
2488
2495
  function isLogicalExpression(node) {
2489
2496
  return node.type === "LogicalExpression";
2490
2497
  }
2491
2498
 
2492
- // ../../node_modules/.pnpm/eslint-plugin-de-morgan@2.0.0_eslint@9.39.1_jiti@2.6.1_/node_modules/eslint-plugin-de-morgan/dist/utils/find-outermost-parenthesized-node.js
2499
+ // ../../node_modules/.pnpm/eslint-plugin-de-morgan@2.0.0_eslint@9.39.2_jiti@2.6.1_/node_modules/eslint-plugin-de-morgan/dist/utils/find-outermost-parenthesized-node.js
2493
2500
  function findOutermostParenthesizedNode(node, sourceCode) {
2494
2501
  let current = node;
2495
2502
  let [start, end] = current.range;
@@ -2509,23 +2516,23 @@ function isInParentheses(start, end, sourceCode) {
2509
2516
  return sourceCode[start - 1] === "(" && sourceCode[end] === ")";
2510
2517
  }
2511
2518
 
2512
- // ../../node_modules/.pnpm/eslint-plugin-de-morgan@2.0.0_eslint@9.39.1_jiti@2.6.1_/node_modules/eslint-plugin-de-morgan/dist/utils/is-unary-expression.js
2519
+ // ../../node_modules/.pnpm/eslint-plugin-de-morgan@2.0.0_eslint@9.39.2_jiti@2.6.1_/node_modules/eslint-plugin-de-morgan/dist/utils/is-unary-expression.js
2513
2520
  function isUnaryExpression(node) {
2514
2521
  return node.type === "UnaryExpression";
2515
2522
  }
2516
2523
 
2517
- // ../../node_modules/.pnpm/eslint-plugin-de-morgan@2.0.0_eslint@9.39.1_jiti@2.6.1_/node_modules/eslint-plugin-de-morgan/dist/utils/has-operator.js
2524
+ // ../../node_modules/.pnpm/eslint-plugin-de-morgan@2.0.0_eslint@9.39.2_jiti@2.6.1_/node_modules/eslint-plugin-de-morgan/dist/utils/has-operator.js
2518
2525
  function hasOperator(operator) {
2519
2526
  return (node) => node.operator === operator;
2520
2527
  }
2521
2528
 
2522
- // ../../node_modules/.pnpm/eslint-plugin-de-morgan@2.0.0_eslint@9.39.1_jiti@2.6.1_/node_modules/eslint-plugin-de-morgan/dist/utils/has-negation-operator.js
2529
+ // ../../node_modules/.pnpm/eslint-plugin-de-morgan@2.0.0_eslint@9.39.2_jiti@2.6.1_/node_modules/eslint-plugin-de-morgan/dist/utils/has-negation-operator.js
2523
2530
  function hasNegationOperator(node) {
2524
2531
  let test2 = createTestWithParameters(node);
2525
2532
  return test2(isUnaryExpression, hasOperator("!"));
2526
2533
  }
2527
2534
 
2528
- // ../../node_modules/.pnpm/eslint-plugin-de-morgan@2.0.0_eslint@9.39.1_jiti@2.6.1_/node_modules/eslint-plugin-de-morgan/dist/utils/has-negation-inside-parens.js
2535
+ // ../../node_modules/.pnpm/eslint-plugin-de-morgan@2.0.0_eslint@9.39.2_jiti@2.6.1_/node_modules/eslint-plugin-de-morgan/dist/utils/has-negation-inside-parens.js
2529
2536
  function hasNegationInsideParens(node, context) {
2530
2537
  let sourceCode = context.sourceCode.getText(node);
2531
2538
  let outermostNode = findOutermostParenthesizedNode(node, sourceCode);
@@ -2547,12 +2554,12 @@ function hasNegationInside(node) {
2547
2554
  return false;
2548
2555
  }
2549
2556
 
2550
- // ../../node_modules/.pnpm/eslint-plugin-de-morgan@2.0.0_eslint@9.39.1_jiti@2.6.1_/node_modules/eslint-plugin-de-morgan/dist/utils/is-binary-expression.js
2557
+ // ../../node_modules/.pnpm/eslint-plugin-de-morgan@2.0.0_eslint@9.39.2_jiti@2.6.1_/node_modules/eslint-plugin-de-morgan/dist/utils/is-binary-expression.js
2551
2558
  function isBinaryExpression(node) {
2552
2559
  return node.type === "BinaryExpression";
2553
2560
  }
2554
2561
 
2555
- // ../../node_modules/.pnpm/eslint-plugin-de-morgan@2.0.0_eslint@9.39.1_jiti@2.6.1_/node_modules/eslint-plugin-de-morgan/dist/utils/has-boolean-context.js
2562
+ // ../../node_modules/.pnpm/eslint-plugin-de-morgan@2.0.0_eslint@9.39.2_jiti@2.6.1_/node_modules/eslint-plugin-de-morgan/dist/utils/has-boolean-context.js
2556
2563
  function hasBooleanContext(node, _context) {
2557
2564
  return node.parent ? isControlFlowBooleanContext(node.parent) || isBooleanOperation(node.parent) || isBooleanFunction(node.parent) : false;
2558
2565
  }
@@ -2587,18 +2594,18 @@ function isBooleanFunction(parent) {
2587
2594
  return parent.type === "CallExpression" && parent.callee.type === "Identifier" && parent.callee.name === "Boolean";
2588
2595
  }
2589
2596
 
2590
- // ../../node_modules/.pnpm/eslint-plugin-de-morgan@2.0.0_eslint@9.39.1_jiti@2.6.1_/node_modules/eslint-plugin-de-morgan/dist/utils/apply-to-property.js
2597
+ // ../../node_modules/.pnpm/eslint-plugin-de-morgan@2.0.0_eslint@9.39.2_jiti@2.6.1_/node_modules/eslint-plugin-de-morgan/dist/utils/apply-to-property.js
2591
2598
  function applyToProperty(property, predicate) {
2592
2599
  return (object) => predicate(object[property]);
2593
2600
  }
2594
2601
 
2595
- // ../../node_modules/.pnpm/eslint-plugin-de-morgan@2.0.0_eslint@9.39.1_jiti@2.6.1_/node_modules/eslint-plugin-de-morgan/dist/utils/is-conjunction.js
2602
+ // ../../node_modules/.pnpm/eslint-plugin-de-morgan@2.0.0_eslint@9.39.2_jiti@2.6.1_/node_modules/eslint-plugin-de-morgan/dist/utils/is-conjunction.js
2596
2603
  function isConjunction(node) {
2597
2604
  let test2 = createTestWithParameters(node);
2598
2605
  return test2(isLogicalExpression, hasOperator("&&"));
2599
2606
  }
2600
2607
 
2601
- // ../../node_modules/.pnpm/eslint-plugin-de-morgan@2.0.0_eslint@9.39.1_jiti@2.6.1_/node_modules/eslint-plugin-de-morgan/dist/utils/sanitize-code.js
2608
+ // ../../node_modules/.pnpm/eslint-plugin-de-morgan@2.0.0_eslint@9.39.2_jiti@2.6.1_/node_modules/eslint-plugin-de-morgan/dist/utils/sanitize-code.js
2602
2609
  function sanitizeCode(code) {
2603
2610
  let stringLiterals = [];
2604
2611
  let withoutStrings = code.replaceAll(
@@ -2621,7 +2628,7 @@ function sanitizeCode(code) {
2621
2628
  return normalized;
2622
2629
  }
2623
2630
 
2624
- // ../../node_modules/.pnpm/eslint-plugin-de-morgan@2.0.0_eslint@9.39.1_jiti@2.6.1_/node_modules/eslint-plugin-de-morgan/dist/utils/is-pure-group.js
2631
+ // ../../node_modules/.pnpm/eslint-plugin-de-morgan@2.0.0_eslint@9.39.2_jiti@2.6.1_/node_modules/eslint-plugin-de-morgan/dist/utils/is-pure-group.js
2625
2632
  function isPureGroup(node, context) {
2626
2633
  let sourceCode = context.sourceCode.getText();
2627
2634
  let outermostNode = findOutermostParenthesizedNode(node, sourceCode);
@@ -2667,22 +2674,22 @@ function getCodeInsideParentheses(code) {
2667
2674
  return code;
2668
2675
  }
2669
2676
 
2670
- // ../../node_modules/.pnpm/eslint-plugin-de-morgan@2.0.0_eslint@9.39.1_jiti@2.6.1_/node_modules/eslint-plugin-de-morgan/dist/utils/is-negated.js
2677
+ // ../../node_modules/.pnpm/eslint-plugin-de-morgan@2.0.0_eslint@9.39.2_jiti@2.6.1_/node_modules/eslint-plugin-de-morgan/dist/utils/is-negated.js
2671
2678
  function isNegated(node) {
2672
2679
  return hasNegationOperator(node) && !hasNegationOperator(node.argument) && (!node.parent || !hasNegationOperator(node.parent));
2673
2680
  }
2674
2681
 
2675
- // ../../node_modules/.pnpm/eslint-plugin-de-morgan@2.0.0_eslint@9.39.1_jiti@2.6.1_/node_modules/eslint-plugin-de-morgan/dist/utils/parenthesize.js
2682
+ // ../../node_modules/.pnpm/eslint-plugin-de-morgan@2.0.0_eslint@9.39.2_jiti@2.6.1_/node_modules/eslint-plugin-de-morgan/dist/utils/parenthesize.js
2676
2683
  function parenthesize(text, condition = true) {
2677
2684
  return condition ? `(${text})` : text;
2678
2685
  }
2679
2686
 
2680
- // ../../node_modules/.pnpm/eslint-plugin-de-morgan@2.0.0_eslint@9.39.1_jiti@2.6.1_/node_modules/eslint-plugin-de-morgan/dist/utils/is-boolean.js
2687
+ // ../../node_modules/.pnpm/eslint-plugin-de-morgan@2.0.0_eslint@9.39.2_jiti@2.6.1_/node_modules/eslint-plugin-de-morgan/dist/utils/is-boolean.js
2681
2688
  function isBoolean(node) {
2682
2689
  return node.type === "Literal" && typeof node.value === "boolean";
2683
2690
  }
2684
2691
 
2685
- // ../../node_modules/.pnpm/eslint-plugin-de-morgan@2.0.0_eslint@9.39.1_jiti@2.6.1_/node_modules/eslint-plugin-de-morgan/dist/utils/toggle-negation.js
2692
+ // ../../node_modules/.pnpm/eslint-plugin-de-morgan@2.0.0_eslint@9.39.2_jiti@2.6.1_/node_modules/eslint-plugin-de-morgan/dist/utils/toggle-negation.js
2686
2693
  function toggleNegation(node, context) {
2687
2694
  let toggleStrategies = [
2688
2695
  {
@@ -2755,13 +2762,13 @@ function toggleBooleanLiteral(node) {
2755
2762
  return node.value ? "false" : "true";
2756
2763
  }
2757
2764
 
2758
- // ../../node_modules/.pnpm/eslint-plugin-de-morgan@2.0.0_eslint@9.39.1_jiti@2.6.1_/node_modules/eslint-plugin-de-morgan/dist/utils/is-disjunction.js
2765
+ // ../../node_modules/.pnpm/eslint-plugin-de-morgan@2.0.0_eslint@9.39.2_jiti@2.6.1_/node_modules/eslint-plugin-de-morgan/dist/utils/is-disjunction.js
2759
2766
  function isDisjunction(node) {
2760
2767
  let test2 = createTestWithParameters(node);
2761
2768
  return test2(isLogicalExpression, hasOperator("||"));
2762
2769
  }
2763
2770
 
2764
- // ../../node_modules/.pnpm/eslint-plugin-de-morgan@2.0.0_eslint@9.39.1_jiti@2.6.1_/node_modules/eslint-plugin-de-morgan/dist/utils/transform.js
2771
+ // ../../node_modules/.pnpm/eslint-plugin-de-morgan@2.0.0_eslint@9.39.2_jiti@2.6.1_/node_modules/eslint-plugin-de-morgan/dist/utils/transform.js
2765
2772
  var MAX_DEPTH = 10;
2766
2773
  var OPERATOR_MAPPING = {
2767
2774
  "&&": "||",
@@ -2850,17 +2857,17 @@ function hasSpecialFormatting(text) {
2850
2857
  return text.includes("//") || text.includes("/*") || text.includes("\n") || /\s{2,}/u.test(text);
2851
2858
  }
2852
2859
 
2853
- // ../../node_modules/.pnpm/eslint-plugin-de-morgan@2.0.0_eslint@9.39.1_jiti@2.6.1_/node_modules/eslint-plugin-de-morgan/dist/utils/not.js
2860
+ // ../../node_modules/.pnpm/eslint-plugin-de-morgan@2.0.0_eslint@9.39.2_jiti@2.6.1_/node_modules/eslint-plugin-de-morgan/dist/utils/not.js
2854
2861
  function not(predicate) {
2855
2862
  return (...arguments_) => !predicate(...arguments_);
2856
2863
  }
2857
2864
 
2858
- // ../../node_modules/.pnpm/eslint-plugin-de-morgan@2.0.0_eslint@9.39.1_jiti@2.6.1_/node_modules/eslint-plugin-de-morgan/dist/utils/or.js
2865
+ // ../../node_modules/.pnpm/eslint-plugin-de-morgan@2.0.0_eslint@9.39.2_jiti@2.6.1_/node_modules/eslint-plugin-de-morgan/dist/utils/or.js
2859
2866
  function or(...predicates) {
2860
2867
  return (...arguments_) => predicates.some((predicate) => predicate(...arguments_));
2861
2868
  }
2862
2869
 
2863
- // ../../node_modules/.pnpm/eslint-plugin-de-morgan@2.0.0_eslint@9.39.1_jiti@2.6.1_/node_modules/eslint-plugin-de-morgan/dist/rules/no-negated-conjunction.js
2870
+ // ../../node_modules/.pnpm/eslint-plugin-de-morgan@2.0.0_eslint@9.39.2_jiti@2.6.1_/node_modules/eslint-plugin-de-morgan/dist/rules/no-negated-conjunction.js
2864
2871
  var noNegatedConjunction = {
2865
2872
  create: (context) => ({
2866
2873
  UnaryExpression: (node) => {
@@ -2909,7 +2916,7 @@ var noNegatedConjunction = {
2909
2916
  }
2910
2917
  };
2911
2918
 
2912
- // ../../node_modules/.pnpm/eslint-plugin-de-morgan@2.0.0_eslint@9.39.1_jiti@2.6.1_/node_modules/eslint-plugin-de-morgan/dist/rules/no-negated-disjunction.js
2919
+ // ../../node_modules/.pnpm/eslint-plugin-de-morgan@2.0.0_eslint@9.39.2_jiti@2.6.1_/node_modules/eslint-plugin-de-morgan/dist/rules/no-negated-disjunction.js
2913
2920
  var noNegatedDisjunction = {
2914
2921
  create: (context) => ({
2915
2922
  UnaryExpression: (node) => {
@@ -2958,7 +2965,7 @@ var noNegatedDisjunction = {
2958
2965
  }
2959
2966
  };
2960
2967
 
2961
- // ../../node_modules/.pnpm/eslint-plugin-de-morgan@2.0.0_eslint@9.39.1_jiti@2.6.1_/node_modules/eslint-plugin-de-morgan/dist/index.js
2968
+ // ../../node_modules/.pnpm/eslint-plugin-de-morgan@2.0.0_eslint@9.39.2_jiti@2.6.1_/node_modules/eslint-plugin-de-morgan/dist/index.js
2962
2969
  var pluginName = "de-morgan";
2963
2970
  var rules = {
2964
2971
  "no-negated-conjunction": noNegatedConjunction,
@@ -3148,7 +3155,7 @@ var sharedScriptConfig = {
3148
3155
  {
3149
3156
  // Also treat $ prefix as internal
3150
3157
  internalPattern: ["^~/.+", "^@/.+", String.raw`^\$.+`],
3151
- newlinesBetween: "never",
3158
+ newlinesBetween: 0,
3152
3159
  partitionByComment: {
3153
3160
  block: false,
3154
3161
  line: true
@@ -3160,12 +3167,12 @@ var sharedScriptConfig = {
3160
3167
  "perfectionist/sort-object-types": [
3161
3168
  "error",
3162
3169
  ...kpPerfectionistSortConfig,
3163
- { newlinesBetween: "never", order: "asc", type: "natural" }
3170
+ { newlinesBetween: 0, order: "asc", type: "natural" }
3164
3171
  ],
3165
3172
  "perfectionist/sort-objects": [
3166
3173
  "error",
3167
3174
  ...kpPerfectionistSortConfig,
3168
- { newlinesBetween: "never", order: "asc", type: "natural" }
3175
+ { newlinesBetween: 0, order: "asc", type: "natural" }
3169
3176
  ],
3170
3177
  "sort-imports": "off",
3171
3178
  // Conflicts with perfectionist/sort-imports (but never enabled)
@@ -3408,6 +3415,9 @@ async function astro(options = {}) {
3408
3415
  interopDefault(import("eslint-plugin-astro")),
3409
3416
  interopDefault(import("astro-eslint-parser"))
3410
3417
  ]);
3418
+ const astroCustomEmbeddedScriptsRules = {
3419
+ "unicorn/filename-case": "off"
3420
+ };
3411
3421
  return [
3412
3422
  {
3413
3423
  name: "kp/astro/setup",
@@ -3493,6 +3503,7 @@ async function astro(options = {}) {
3493
3503
  name: "kp/astro/script-js",
3494
3504
  rules: {
3495
3505
  ...sharedScriptDisableTypeCheckedRules,
3506
+ ...astroCustomEmbeddedScriptsRules,
3496
3507
  ...overridesEmbeddedScripts
3497
3508
  }
3498
3509
  },
@@ -3515,6 +3526,7 @@ async function astro(options = {}) {
3515
3526
  name: "kp/astro/script-ts",
3516
3527
  rules: {
3517
3528
  ...sharedScriptDisableTypeCheckedRules,
3529
+ ...astroCustomEmbeddedScriptsRules,
3518
3530
  ...overridesEmbeddedScripts
3519
3531
  }
3520
3532
  }
@@ -3605,6 +3617,7 @@ var htmlRecommendedRules = {
3605
3617
  "html/require-li-container": "error",
3606
3618
  "html/quotes": "error",
3607
3619
  "html/no-obsolete-tags": "error",
3620
+ "html/no-obsolete-attrs": "error",
3608
3621
  "html/require-closing-tags": "error",
3609
3622
  "html/no-duplicate-attrs": "error",
3610
3623
  "html/use-baseline": "error",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitschpatrol/eslint-config",
3
- "version": "5.9.2",
3
+ "version": "5.11.0",
4
4
  "description": "ESLint configuration for @kitschpatrol/shared-config.",
5
5
  "keywords": [
6
6
  "shared-config",
@@ -44,14 +44,14 @@
44
44
  "dependencies": {
45
45
  "@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
46
46
  "@eslint-react/eslint-plugin": "2.1.1",
47
- "@html-eslint/eslint-plugin": "^0.49.0",
48
- "@html-eslint/parser": "^0.49.0",
47
+ "@html-eslint/eslint-plugin": "^0.52.0",
48
+ "@html-eslint/parser": "^0.52.0",
49
49
  "@pinojs/json-colorizer": "^4.0.0",
50
- "@typescript-eslint/eslint-plugin": "^8.48.0",
51
- "@typescript-eslint/parser": "^8.48.0",
52
- "@vitest/eslint-plugin": "^1.5.0",
50
+ "@typescript-eslint/eslint-plugin": "^8.50.1",
51
+ "@typescript-eslint/parser": "^8.50.1",
52
+ "@vitest/eslint-plugin": "^1.6.4",
53
53
  "astro-eslint-parser": "^1.2.2",
54
- "eslint": "^9.39.1",
54
+ "eslint": "^9.39.2",
55
55
  "eslint-config-flat-gitignore": "^2.1.0",
56
56
  "eslint-flat-config-utils": "^2.1.4",
57
57
  "eslint-import-resolver-typescript": "^4.4.4",
@@ -60,31 +60,31 @@
60
60
  "eslint-plugin-depend": "^1.4.0",
61
61
  "eslint-plugin-html": "^8.1.3",
62
62
  "eslint-plugin-import-x": "^4.16.1",
63
- "eslint-plugin-jsdoc": "^61.4.1",
63
+ "eslint-plugin-jsdoc": "^61.5.0",
64
64
  "eslint-plugin-jsonc": "^2.21.0",
65
65
  "eslint-plugin-jsx-a11y": "^6.10.2",
66
66
  "eslint-plugin-mdx": "^3.6.2",
67
67
  "eslint-plugin-n": "^17.23.1",
68
68
  "eslint-plugin-no-only-tests": "^3.3.0",
69
69
  "eslint-plugin-package-json": "^0.85.0",
70
- "eslint-plugin-perfectionist": "^4.15.1",
70
+ "eslint-plugin-perfectionist": "^5.1.0",
71
71
  "eslint-plugin-regexp": "^2.10.0",
72
- "eslint-plugin-svelte": "^3.13.0",
72
+ "eslint-plugin-svelte": "^3.13.1",
73
73
  "eslint-plugin-toml": "^0.12.0",
74
74
  "eslint-plugin-unicorn": "^62.0.0",
75
- "eslint-plugin-yml": "^1.19.0",
76
- "execa": "^9.6.0",
75
+ "eslint-plugin-yml": "^1.19.1",
76
+ "execa": "^9.6.1",
77
77
  "find-workspaces": "^0.3.1",
78
- "fs-extra": "^11.3.2",
78
+ "fs-extra": "^11.3.3",
79
79
  "globals": "^16.5.0",
80
- "jsonc-eslint-parser": "^2.4.1",
80
+ "jsonc-eslint-parser": "^2.4.2",
81
81
  "local-pkg": "^1.1.2",
82
- "prettier": "^3.6.2",
83
- "sort-package-json": "^3.4.0",
84
- "svelte-eslint-parser": "^1.4.0",
82
+ "prettier": "^3.7.4",
83
+ "sort-package-json": "^3.6.0",
84
+ "svelte-eslint-parser": "^1.4.1",
85
85
  "to-valid-identifier": "^1.0.0",
86
- "toml-eslint-parser": "^0.10.0",
87
- "yaml-eslint-parser": "^1.3.1"
86
+ "toml-eslint-parser": "^0.10.1",
87
+ "yaml-eslint-parser": "^1.3.2"
88
88
  },
89
89
  "devDependencies": {
90
90
  "@types/eslint-config-prettier": "^6.11.3",
@@ -95,7 +95,7 @@
95
95
  "eslint-plugin-de-morgan": "^2.0.0",
96
96
  "eslint-typegen": "^2.3.0",
97
97
  "globby": "^15.0.0",
98
- "svelte": "^5.44.1",
98
+ "svelte": "^5.46.1",
99
99
  "tsup": "^8.5.1"
100
100
  },
101
101
  "engines": {
@@ -105,7 +105,7 @@
105
105
  "access": "public"
106
106
  },
107
107
  "scripts": {
108
- "build": "tsup --format esm --clean --dts && ../../scripts/build.ts",
108
+ "build": "tsup --format esm --clean --dts && tsx ../../scripts/build.ts",
109
109
  "cli": "node ./bin/cli.js",
110
110
  "inspect": "npx @eslint/config-inspector --config ./init/eslint.config.ts",
111
111
  "update-rules": "tsx scripts/presetgen.ts && tsx scripts/typegen.ts && ksc-eslint fix && ksc-prettier fix"
package/readme.md CHANGED
@@ -37,7 +37,7 @@ It's a shared [ESLint](https://eslint.org) config, plus a command-line tool `ksc
37
37
 
38
38
  To use just this ESLint config in isolation:
39
39
 
40
- 1. Install the `.npmrc` in your project root. This is required for correct PNPM behavior:
40
+ 1. Install the basic repository configuration files in your project root. This is required for correct PNPM behavior:
41
41
 
42
42
  ```sh
43
43
  pnpm --package=@kitschpatrol/repo-config dlx ksc-repo init