@oxlint-config-inspector/core 1.1.3 → 1.1.5

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.3";
247
+ var version = "1.1.5";
248
248
  //#endregion
249
249
  //#region src/generated/builtin-rule-docs.ts
250
250
  const builtinRuleDocs = {
@@ -942,7 +942,7 @@ const builtinRuleDocs = {
942
942
  considerQueryString: false,
943
943
  preferInline: false
944
944
  },
945
- description: "Reports if a resolved path is imported more than once in the same module. This helps avoid unnecessary duplicate imports and keeps the code clean."
945
+ description: "Reports if a resolved path is imported more than once in the same module. Imports with different import attributes are treated as distinct modules. This helps avoid unnecessary duplicate imports and keeps the code clean."
946
946
  },
947
947
  "import/no-dynamic-require": {
948
948
  defaultOptions: { esmodule: false },
@@ -1724,6 +1724,7 @@ const builtinRuleDocs = {
1724
1724
  "react/no-will-update-set-state": { description: "Disallows using setState in the componentWillUpdate lifecycle method." },
1725
1725
  "react/only-export-components": {
1726
1726
  defaultOptions: {
1727
+ allowCompoundComponents: false,
1727
1728
  allowConstantExport: false,
1728
1729
  allowExportNames: [],
1729
1730
  checkJS: false,
@@ -1920,6 +1921,7 @@ const builtinRuleDocs = {
1920
1921
  description: "This rule disallows \"floating\" Promises in TypeScript code, which is a Promise that is created without any code to handle its resolution or rejection."
1921
1922
  },
1922
1923
  "typescript/no-for-in-array": { description: "This rule disallows iterating over an array with a for-in loop." },
1924
+ "typescript/no-generated-empty-object-type": { description: "Disallows type operations that resolve to the empty object type {}. This includes generic type references and intersections, but excludes mapped types whose keys have not yet been resolved." },
1923
1925
  "typescript/no-implied-eval": { description: "This rule disallows the use of eval-like methods." },
1924
1926
  "typescript/no-import-type-side-effects": { description: "Enforce the use of top-level import type qualifier when an import only has specifiers with inline type qualifiers." },
1925
1927
  "typescript/no-inferrable-types": {
@@ -2358,8 +2360,8 @@ const builtinRuleDocs = {
2358
2360
  },
2359
2361
  number: {
2360
2362
  fractionGroupLength: "Infinity",
2361
- groupLength: 0,
2362
- minimumDigits: 0
2363
+ groupLength: 3,
2364
+ minimumDigits: 5
2363
2365
  },
2364
2366
  octal: {
2365
2367
  groupLength: 4,
@@ -2372,7 +2374,7 @@ const builtinRuleDocs = {
2372
2374
  "unicorn/prefer-add-event-listener": { description: "Enforces the use of .addEventListener() and .removeEventListener() over their on-function counterparts." },
2373
2375
  "unicorn/prefer-array-find": { description: "Encourages using Array.prototype.find and Array.prototype.findLast instead of taking the first or last matching element from filter(...)." },
2374
2376
  "unicorn/prefer-array-flat": { description: "Prefers Array#flat() over legacy techniques to flatten arrays." },
2375
- "unicorn/prefer-array-flat-map": { description: "Prefers the use of .flatMap() when map().flat() are used together." },
2377
+ "unicorn/prefer-array-flat-map": { description: "Prefers a single .flatMap() over .map().flat() or .filter().flatMap()." },
2376
2378
  "unicorn/prefer-array-index-of": { description: "Enforces using indexOf or lastIndexOf instead of findIndex or findLastIndex when the callback is a simple strict equality comparison." },
2377
2379
  "unicorn/prefer-array-some": { description: "Prefers using Array#some() over Array#find(), Array#findLast() with comparing to undefined, or Array#findIndex(), Array#findLastIndex() and a non-zero length check on the result of Array#filter()" },
2378
2380
  "unicorn/prefer-at": {
@@ -2564,9 +2566,9 @@ const builtinRuleDocs = {
2564
2566
  "vitest/prefer-strict-boolean-matchers": { description: "Enforce using toBe(true) and toBe(false) over matchers that coerce types to boolean." },
2565
2567
  "vitest/prefer-strict-equal": { description: "This rule triggers a warning if toEqual() is used to assert equality." },
2566
2568
  "vitest/prefer-to-be": { description: "Recommends using toBe matcher for primitive literals and specific matchers for null, undefined, and NaN." },
2567
- "vitest/prefer-to-be-falsy": { description: "This rule warns when toBe(false) is used with expect or expectTypeOf. With --fix, it will be replaced with toBeFalsy()." },
2569
+ "vitest/prefer-to-be-falsy": { description: "This rule warns when toBe(false) is used with expect or expectTypeOf. With --fix-suggestions, it will be replaced with toBeFalsy()." },
2568
2570
  "vitest/prefer-to-be-object": { description: "This rule enforces using toBeObject() to check if a value is of type Object." },
2569
- "vitest/prefer-to-be-truthy": { description: "This rule warns when toBe(true) is used with expect or expectTypeOf. With --fix, it will be replaced with toBeTruthy()." },
2571
+ "vitest/prefer-to-be-truthy": { description: "This rule warns when toBe(true) is used with expect or expectTypeOf. With --fix-suggestions, it will be replaced with toBeTruthy()." },
2570
2572
  "vitest/prefer-to-contain": { description: "In order to have a better failure message, toContain() should be used upon asserting expectations on an array containing an object." },
2571
2573
  "vitest/prefer-to-have-been-called-times": { description: "In order to have a better failure message, [toHaveBeenCalledTimes should be used instead of directly checking the length of mock.calls](https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/prefer-to-have-been-called-times.md)." },
2572
2574
  "vitest/prefer-to-have-length": { description: "In order to have a better failure message, toHaveLength() should be used upon asserting expectations on objects length property." },