@oxlint-config-inspector/core 1.1.11 → 1.1.12

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.mjs CHANGED
@@ -244,7 +244,7 @@ function mergeArrays(base, override) {
244
244
  }
245
245
  //#endregion
246
246
  //#region package.json
247
- var version = "1.1.11";
247
+ var version = "1.1.12";
248
248
  //#endregion
249
249
  //#region src/generated/builtin-rule-docs.ts
250
250
  const builtinRuleDocs = {
@@ -1037,6 +1037,12 @@ const builtinRuleDocs = {
1037
1037
  "jest/no-unneeded-async-expect-function": { description: "Disallows unnecessary async function wrapper for expected promises." },
1038
1038
  "jest/no-untyped-mock-factory": { description: "This rule triggers a warning if mock() or doMock() is used without a generic type parameter or return type." },
1039
1039
  "jest/padding-around-after-all-blocks": { description: "This rule enforces a line of padding before and after 1 or more afterAll statements." },
1040
+ "jest/padding-around-after-each-blocks": { description: "This rule enforces a line of padding before and after 1 or more afterEach statements." },
1041
+ "jest/padding-around-all": { description: "This rule enforces padding around test framework functions. It combines the behavior of these rules:" },
1042
+ "jest/padding-around-before-all-blocks": { description: "This rule enforces a line of padding before and after beforeAll statements." },
1043
+ "jest/padding-around-before-each-blocks": { description: "This rule enforces a line of padding before and after 1 or more beforeEach statements." },
1044
+ "jest/padding-around-describe-blocks": { description: "This rule enforces a line of padding before and after 1 or more describe statements." },
1045
+ "jest/padding-around-expect-groups": { description: "This rule enforces a line of padding before and after 1 or more expect statements." },
1040
1046
  "jest/padding-around-test-blocks": { description: "This rule enforces a line of padding before and after 1 or more test/it statements." },
1041
1047
  "jest/prefer-called-with": { description: "Suggest using toBeCalledWith() or toHaveBeenCalledWith()." },
1042
1048
  "jest/prefer-comparison-matcher": { description: "This rule checks for comparisons in tests that could be replaced with one of the following built-in comparison matchers:" },
@@ -1183,6 +1189,7 @@ const builtinRuleDocs = {
1183
1189
  },
1184
1190
  "jsdoc/require-returns-description": { description: "Requires that the @returns tag has a description value. The error will not be reported if the return value is void or undefined or if it is Promise<void> or Promise<undefined>." },
1185
1191
  "jsdoc/require-returns-type": { description: "Requires that the @returns tag has a type value (in curly brackets)." },
1192
+ "jsdoc/require-template-description": { description: "Requires a description for @template tags." },
1186
1193
  "jsdoc/require-throws-description": { description: "Requires a description for @throws tags." },
1187
1194
  "jsdoc/require-throws-type": { description: "Requires a type on the @throws tag." },
1188
1195
  "jsdoc/require-yields": {
@@ -2343,7 +2350,7 @@ const builtinRuleDocs = {
2343
2350
  "unicorn/no-useless-error-capture-stack-trace": { description: "Disallows unnecessary Error.captureStackTrace(…) in error constructors." },
2344
2351
  "unicorn/no-useless-fallback-in-spread": { description: "Disallow useless fallback when spreading in object literals." },
2345
2352
  "unicorn/no-useless-iterator-to-array": { description: "Disallow unnecessary .toArray() on iterators." },
2346
- "unicorn/no-useless-length-check": { description: "It checks for an unnecessary array length check in a logical expression." },
2353
+ "unicorn/no-useless-length-check": { description: "It checks for an unnecessary array length check in a logical expression or before a for...of loop." },
2347
2354
  "unicorn/no-useless-promise-resolve-reject": {
2348
2355
  defaultOptions: { allowReject: false },
2349
2356
  description: "Disallows returning values wrapped in Promise.resolve or Promise.reject in an async function or a Promise#then/catch/finally callback."
@@ -2417,7 +2424,7 @@ const builtinRuleDocs = {
2417
2424
  "unicorn/prefer-keyboard-event-key": { description: "Enforces the use of KeyboardEvent#key over KeyboardEvent#keyCode, which is deprecated." },
2418
2425
  "unicorn/prefer-logical-operator-over-ternary": { description: "This rule finds ternary expressions that can be simplified to a logical operator." },
2419
2426
  "unicorn/prefer-math-min-max": { description: "Prefers use of Math.min() and Math.max() instead of ternary expressions when performing simple comparisons." },
2420
- "unicorn/prefer-math-trunc": { description: "Prefers use of Math.trunc() instead of bitwise operations for clarity and more reliable results." },
2427
+ "unicorn/prefer-math-trunc": { description: "Prefers use of Math.trunc() instead of bitwise operations or parseInt(String(x), 10) for clarity and more reliable results." },
2421
2428
  "unicorn/prefer-modern-dom-apis": { description: "Enforces the use of:" },
2422
2429
  "unicorn/prefer-modern-math-apis": { description: "Checks for usage of legacy patterns for mathematical operations." },
2423
2430
  "unicorn/prefer-module": { description: "Prefer JavaScript modules (ESM) over CommonJS." },
@@ -2541,6 +2548,12 @@ const builtinRuleDocs = {
2541
2548
  "vitest/no-test-return-statement": { description: "Disallow explicitly returning from tests." },
2542
2549
  "vitest/no-unneeded-async-expect-function": { description: "Disallows unnecessary async function wrapper for expected promises." },
2543
2550
  "vitest/padding-around-after-all-blocks": { description: "This rule enforces a line of padding before and after 1 or more afterAll statements." },
2551
+ "vitest/padding-around-after-each-blocks": { description: "This rule enforces a line of padding before and after 1 or more afterEach statements." },
2552
+ "vitest/padding-around-all": { description: "This rule enforces padding around test framework functions. It combines the behavior of these rules:" },
2553
+ "vitest/padding-around-before-all-blocks": { description: "This rule enforces a line of padding before and after beforeAll statements." },
2554
+ "vitest/padding-around-before-each-blocks": { description: "This rule enforces a line of padding before and after 1 or more beforeEach statements." },
2555
+ "vitest/padding-around-describe-blocks": { description: "This rule enforces a line of padding before and after 1 or more describe statements." },
2556
+ "vitest/padding-around-expect-groups": { description: "This rule enforces a line of padding before and after 1 or more expect statements." },
2544
2557
  "vitest/padding-around-test-blocks": { description: "This rule enforces a line of padding before and after 1 or more test/it statements." },
2545
2558
  "vitest/prefer-called-exactly-once-with": { description: "It checks when a target is asserted with both toHaveBeenCalledOnce and toHaveBeenCalledWith instead of toHaveBeenCalledExactlyOnceWith." },
2546
2559
  "vitest/prefer-called-once": { description: "Substitute toBeCalledTimes(1) and toHaveBeenCalledTimes(1) with toBeCalledOnce() and toHaveBeenCalledOnce() respectively." },