@oxlint-config-inspector/core 1.1.3 → 1.1.4
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 +6 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
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.
|
|
247
|
+
var version = "1.1.4";
|
|
248
248
|
//#endregion
|
|
249
249
|
//#region src/generated/builtin-rule-docs.ts
|
|
250
250
|
const builtinRuleDocs = {
|
|
@@ -2358,8 +2358,8 @@ const builtinRuleDocs = {
|
|
|
2358
2358
|
},
|
|
2359
2359
|
number: {
|
|
2360
2360
|
fractionGroupLength: "Infinity",
|
|
2361
|
-
groupLength:
|
|
2362
|
-
minimumDigits:
|
|
2361
|
+
groupLength: 3,
|
|
2362
|
+
minimumDigits: 5
|
|
2363
2363
|
},
|
|
2364
2364
|
octal: {
|
|
2365
2365
|
groupLength: 4,
|
|
@@ -2372,7 +2372,7 @@ const builtinRuleDocs = {
|
|
|
2372
2372
|
"unicorn/prefer-add-event-listener": { description: "Enforces the use of .addEventListener() and .removeEventListener() over their on-function counterparts." },
|
|
2373
2373
|
"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
2374
|
"unicorn/prefer-array-flat": { description: "Prefers Array#flat() over legacy techniques to flatten arrays." },
|
|
2375
|
-
"unicorn/prefer-array-flat-map": { description: "Prefers
|
|
2375
|
+
"unicorn/prefer-array-flat-map": { description: "Prefers a single .flatMap() over .map().flat() or .filter().flatMap()." },
|
|
2376
2376
|
"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
2377
|
"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
2378
|
"unicorn/prefer-at": {
|
|
@@ -2564,9 +2564,9 @@ const builtinRuleDocs = {
|
|
|
2564
2564
|
"vitest/prefer-strict-boolean-matchers": { description: "Enforce using toBe(true) and toBe(false) over matchers that coerce types to boolean." },
|
|
2565
2565
|
"vitest/prefer-strict-equal": { description: "This rule triggers a warning if toEqual() is used to assert equality." },
|
|
2566
2566
|
"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()." },
|
|
2567
|
+
"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
2568
|
"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()." },
|
|
2569
|
+
"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
2570
|
"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
2571
|
"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
2572
|
"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." },
|