@oxlint-config-inspector/core 1.1.5 → 1.1.7

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.5";
247
+ var version = "1.1.7";
248
248
  //#endregion
249
249
  //#region src/generated/builtin-rule-docs.ts
250
250
  const builtinRuleDocs = {
@@ -1780,7 +1780,10 @@ const builtinRuleDocs = {
1780
1780
  },
1781
1781
  description: "Require consistently using either T[] or Array<T> for arrays."
1782
1782
  },
1783
- "typescript/await-thenable": { description: "This rule disallows awaiting a value that is not a Thenable." },
1783
+ "typescript/await-thenable": {
1784
+ defaultOptions: { allowMixedPromiseArrays: false },
1785
+ description: "This rule disallows awaiting a value that is not a Thenable."
1786
+ },
1784
1787
  "typescript/ban-ts-comment": {
1785
1788
  defaultOptions: { minimumDescriptionLength: 3 },
1786
1789
  description: "This rule lets you set which directive comments you want to allow in your codebase."
@@ -2015,6 +2018,7 @@ const builtinRuleDocs = {
2015
2018
  "typescript/no-unsafe-assignment": { description: "This rule disallows assigning a value with type any to variables and properties." },
2016
2019
  "typescript/no-unsafe-call": { description: "This rule disallows calling a value with type any." },
2017
2020
  "typescript/no-unsafe-declaration-merging": { description: "Disallow unsafe declaration merging." },
2021
+ "typescript/no-unsafe-enum-assignment": { description: "Disallows using values that do not share an enum type where an enum value is expected. This includes assignments, arguments, return values, type assertions, mutations, and computed keys in objects keyed by enum members." },
2018
2022
  "typescript/no-unsafe-enum-comparison": { description: "This rule disallows comparing an enum value with a non-enum value." },
2019
2023
  "typescript/no-unsafe-function-type": { description: "Disallow using the unsafe built-in Function type." },
2020
2024
  "typescript/no-unsafe-member-access": {
@@ -2427,7 +2431,10 @@ const builtinRuleDocs = {
2427
2431
  },
2428
2432
  "unicorn/prefer-optional-catch-binding": { description: "Prefers omitting the catch binding parameter if it is unused." },
2429
2433
  "unicorn/prefer-prototype-methods": { description: "This rule prefers borrowing methods from the prototype instead of the instance." },
2430
- "unicorn/prefer-query-selector": { description: "Prefer .querySelector() over .getElementById(). And prefer .querySelectorAll() over .getElementsByClassName(), .getElementsByTagName(), and .getElementsByName()." },
2434
+ "unicorn/prefer-query-selector": {
2435
+ defaultOptions: { allowWithVariables: false },
2436
+ description: "Prefer .querySelector() over .getElementById(). And prefer .querySelectorAll() over .getElementsByClassName(), .getElementsByTagName(), and .getElementsByName()."
2437
+ },
2431
2438
  "unicorn/prefer-reflect-apply": { description: "Disallows the use of Function.prototype.apply() and suggests using Reflect.apply() instead." },
2432
2439
  "unicorn/prefer-regexp-test": { description: "Prefers RegExp#test() over String#match() and String#exec()." },
2433
2440
  "unicorn/prefer-response-static-json": { description: "Enforces the use of Response.json() over new Response(JSON.stringify())." },