@oxlint-config-inspector/core 1.1.7 → 1.1.9
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 +9 -3
- 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.9";
|
|
248
248
|
//#endregion
|
|
249
249
|
//#region src/generated/builtin-rule-docs.ts
|
|
250
250
|
const builtinRuleDocs = {
|
|
@@ -592,7 +592,10 @@ const builtinRuleDocs = {
|
|
|
592
592
|
"eslint/no-proto": { description: "Disallow the use of the __proto__ property." },
|
|
593
593
|
"eslint/no-prototype-builtins": { description: "Disallow calling some Object.prototype methods directly on objects." },
|
|
594
594
|
"eslint/no-redeclare": {
|
|
595
|
-
defaultOptions: {
|
|
595
|
+
defaultOptions: {
|
|
596
|
+
builtinGlobals: true,
|
|
597
|
+
ignoreDeclarationMerge: true
|
|
598
|
+
},
|
|
596
599
|
description: "This rule disallows redeclaring variables within the same scope, ensuring that each variable is declared only once. It helps avoid confusion and unintended behavior in code."
|
|
597
600
|
},
|
|
598
601
|
"eslint/no-regex-spaces": { description: "Disallow 2+ consecutive spaces in regular expressions." },
|
|
@@ -1543,7 +1546,10 @@ const builtinRuleDocs = {
|
|
|
1543
1546
|
},
|
|
1544
1547
|
description: "Enforces an explicit type attribute for all HTML button elements."
|
|
1545
1548
|
},
|
|
1546
|
-
"react/capitalized-calls": {
|
|
1549
|
+
"react/capitalized-calls": {
|
|
1550
|
+
defaultOptions: { allow: [] },
|
|
1551
|
+
description: "Disallows calling capitalized functions or methods directly during render instead of rendering them with JSX, since capitalized names are reserved for components."
|
|
1552
|
+
},
|
|
1547
1553
|
"react/checked-requires-onchange-or-readonly": {
|
|
1548
1554
|
defaultOptions: {
|
|
1549
1555
|
ignoreExclusiveCheckedAttribute: false,
|