@oxlint-config-inspector/core 1.1.5 → 1.1.6

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.6";
248
248
  //#endregion
249
249
  //#region src/generated/builtin-rule-docs.ts
250
250
  const builtinRuleDocs = {
@@ -2427,7 +2427,10 @@ const builtinRuleDocs = {
2427
2427
  },
2428
2428
  "unicorn/prefer-optional-catch-binding": { description: "Prefers omitting the catch binding parameter if it is unused." },
2429
2429
  "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()." },
2430
+ "unicorn/prefer-query-selector": {
2431
+ defaultOptions: { allowWithVariables: false },
2432
+ description: "Prefer .querySelector() over .getElementById(). And prefer .querySelectorAll() over .getElementsByClassName(), .getElementsByTagName(), and .getElementsByName()."
2433
+ },
2431
2434
  "unicorn/prefer-reflect-apply": { description: "Disallows the use of Function.prototype.apply() and suggests using Reflect.apply() instead." },
2432
2435
  "unicorn/prefer-regexp-test": { description: "Prefers RegExp#test() over String#match() and String#exec()." },
2433
2436
  "unicorn/prefer-response-static-json": { description: "Enforces the use of Response.json() over new Response(JSON.stringify())." },