oxlint 1.73.0 → 1.75.0
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/README.md +0 -3
- package/configuration_schema.json +275 -18
- package/dist/bindings.js +26 -26
- package/dist/index.d.ts +92 -5
- package/dist/lint.js +324 -259
- package/dist/plugins-dev.d.ts +58 -101
- package/dist/plugins-dev.js +1 -1
- package/package.json +21 -21
package/README.md
CHANGED
|
@@ -18,7 +18,6 @@
|
|
|
18
18
|
[![MIT licensed][license-badge]][license-url]
|
|
19
19
|
[![Build Status][ci-badge]][ci-url]
|
|
20
20
|
[![Code Coverage][code-coverage-badge]][code-coverage-url]
|
|
21
|
-
[![Sponsors][sponsors-badge]][sponsors-url]
|
|
22
21
|
|
|
23
22
|
[![Discord chat][discord-badge]][discord-url]
|
|
24
23
|
[![Playground][playground-badge]][playground-url]
|
|
@@ -35,8 +34,6 @@
|
|
|
35
34
|
[code-size-url]: https://github.com/oxc-project/oxc
|
|
36
35
|
[code-coverage-badge]: https://codecov.io/github/oxc-project/oxc/branch/main/graph/badge.svg
|
|
37
36
|
[code-coverage-url]: https://codecov.io/gh/oxc-project/oxc
|
|
38
|
-
[sponsors-badge]: https://img.shields.io/github/sponsors/Boshen
|
|
39
|
-
[sponsors-url]: https://github.com/sponsors/Boshen
|
|
40
37
|
[playground-badge]: https://img.shields.io/badge/Playground-blue?color=9BE4E0
|
|
41
38
|
[playground-url]: https://playground.oxc.rs/
|
|
42
39
|
|
|
@@ -48,13 +48,13 @@
|
|
|
48
48
|
"markdownDescription": "Enabled or disabled specific global variables."
|
|
49
49
|
},
|
|
50
50
|
"ignorePatterns": {
|
|
51
|
-
"description": "Globs to ignore during linting.
|
|
51
|
+
"description": "Globs to ignore during linting. Patterns use gitignore-style matching,\nrooted at the directory containing the configuration file.\nFiles outside that directory cannot be matched; patterns containing `..`\nare rejected as a configuration error.",
|
|
52
52
|
"default": [],
|
|
53
53
|
"type": "array",
|
|
54
54
|
"items": {
|
|
55
55
|
"type": "string"
|
|
56
56
|
},
|
|
57
|
-
"markdownDescription": "Globs to ignore during linting.
|
|
57
|
+
"markdownDescription": "Globs to ignore during linting. Patterns use gitignore-style matching,\nrooted at the directory containing the configuration file.\nFiles outside that directory cannot be matched; patterns containing `..`\nare rejected as a configuration error."
|
|
58
58
|
},
|
|
59
59
|
"jsPlugins": {
|
|
60
60
|
"description": "JS plugins, allows usage of ESLint plugins with Oxlint.\n\nRead more about JS plugins in\n[the docs](https://oxc.rs/docs/guide/usage/linter/js-plugins.html).\n\nNote: JS plugins are in alpha and not subject to semver.\n\nExamples:\n\nBasic usage with a local plugin path.\n\n```json\n{\n\"jsPlugins\": [\"./custom-plugin.js\"],\n\"rules\": {\n\"custom/rule-name\": \"warn\"\n}\n}\n```\n\nBasic usage with a TypeScript plugin and a local plugin path.\n\nTypeScript plugin files are supported in the following environments:\n- Deno and Bun: TypeScript files are supported natively.\n- Node.js >=22.18.0 and Node.js ^20.19.0: TypeScript files are supported natively with built-in\ntype-stripping enabled by default.\n\nFor older Node.js versions, TypeScript plugins are not supported. Please use JavaScript plugins or upgrade your Node version.\n\n```json\n{\n\"jsPlugins\": [\"./custom-plugin.ts\"],\n\"rules\": {\n\"custom/rule-name\": \"warn\"\n}\n}\n```\n\nUsing a built-in Rust plugin alongside a JS plugin with the same name\nby giving the JS plugin an alias.\n\n```json\n{\n\"plugins\": [\"import\"],\n\"jsPlugins\": [\n{ \"name\": \"import-js\", \"specifier\": \"eslint-plugin-import\" }\n],\n\"rules\": {\n\"import/no-cycle\": \"error\",\n\"import-js/no-unresolved\": \"warn\"\n}\n}\n```",
|
|
@@ -3544,7 +3544,24 @@
|
|
|
3544
3544
|
]
|
|
3545
3545
|
},
|
|
3546
3546
|
"jsdoc/require-param": {
|
|
3547
|
-
"
|
|
3547
|
+
"anyOf": [
|
|
3548
|
+
{
|
|
3549
|
+
"$ref": "#/definitions/RuleNoConfig"
|
|
3550
|
+
},
|
|
3551
|
+
{
|
|
3552
|
+
"type": "array",
|
|
3553
|
+
"items": [
|
|
3554
|
+
{
|
|
3555
|
+
"$ref": "#/definitions/AllowWarnDeny"
|
|
3556
|
+
},
|
|
3557
|
+
{
|
|
3558
|
+
"$ref": "#/definitions/RequireParamConfig"
|
|
3559
|
+
}
|
|
3560
|
+
],
|
|
3561
|
+
"maxItems": 2,
|
|
3562
|
+
"minItems": 2
|
|
3563
|
+
}
|
|
3564
|
+
]
|
|
3548
3565
|
},
|
|
3549
3566
|
"jsdoc/require-param-description": {
|
|
3550
3567
|
"anyOf": [
|
|
@@ -5709,6 +5726,26 @@
|
|
|
5709
5726
|
}
|
|
5710
5727
|
]
|
|
5711
5728
|
},
|
|
5729
|
+
"node/no-top-level-await": {
|
|
5730
|
+
"anyOf": [
|
|
5731
|
+
{
|
|
5732
|
+
"$ref": "#/definitions/RuleNoConfig"
|
|
5733
|
+
},
|
|
5734
|
+
{
|
|
5735
|
+
"type": "array",
|
|
5736
|
+
"items": [
|
|
5737
|
+
{
|
|
5738
|
+
"$ref": "#/definitions/AllowWarnDeny"
|
|
5739
|
+
},
|
|
5740
|
+
{
|
|
5741
|
+
"$ref": "#/definitions/NoTopLevelAwaitConfig"
|
|
5742
|
+
}
|
|
5743
|
+
],
|
|
5744
|
+
"maxItems": 2,
|
|
5745
|
+
"minItems": 2
|
|
5746
|
+
}
|
|
5747
|
+
]
|
|
5748
|
+
},
|
|
5712
5749
|
"object-shorthand": {
|
|
5713
5750
|
"anyOf": [
|
|
5714
5751
|
{
|
|
@@ -5970,7 +6007,7 @@
|
|
|
5970
6007
|
"$ref": "#/definitions/PreferDestructuringOption"
|
|
5971
6008
|
},
|
|
5972
6009
|
{
|
|
5973
|
-
"$ref": "#/definitions/
|
|
6010
|
+
"$ref": "#/definitions/PreferDestructuringEnforcementConfig"
|
|
5974
6011
|
}
|
|
5975
6012
|
],
|
|
5976
6013
|
"maxItems": 3,
|
|
@@ -6489,6 +6526,26 @@
|
|
|
6489
6526
|
"react/forward-ref-uses-ref": {
|
|
6490
6527
|
"$ref": "#/definitions/RuleNoConfig"
|
|
6491
6528
|
},
|
|
6529
|
+
"react/function-component-definition": {
|
|
6530
|
+
"anyOf": [
|
|
6531
|
+
{
|
|
6532
|
+
"$ref": "#/definitions/RuleNoConfig"
|
|
6533
|
+
},
|
|
6534
|
+
{
|
|
6535
|
+
"type": "array",
|
|
6536
|
+
"items": [
|
|
6537
|
+
{
|
|
6538
|
+
"$ref": "#/definitions/AllowWarnDeny"
|
|
6539
|
+
},
|
|
6540
|
+
{
|
|
6541
|
+
"$ref": "#/definitions/FunctionComponentDefinition"
|
|
6542
|
+
}
|
|
6543
|
+
],
|
|
6544
|
+
"maxItems": 2,
|
|
6545
|
+
"minItems": 2
|
|
6546
|
+
}
|
|
6547
|
+
]
|
|
6548
|
+
},
|
|
6492
6549
|
"react/hook-use-state": {
|
|
6493
6550
|
"anyOf": [
|
|
6494
6551
|
{
|
|
@@ -9760,6 +9817,9 @@
|
|
|
9760
9817
|
"vitest/padding-around-after-all-blocks": {
|
|
9761
9818
|
"$ref": "#/definitions/RuleNoConfig"
|
|
9762
9819
|
},
|
|
9820
|
+
"vitest/padding-around-test-blocks": {
|
|
9821
|
+
"$ref": "#/definitions/RuleNoConfig"
|
|
9822
|
+
},
|
|
9763
9823
|
"vitest/prefer-called-exactly-once-with": {
|
|
9764
9824
|
"$ref": "#/definitions/RuleNoConfig"
|
|
9765
9825
|
},
|
|
@@ -11193,6 +11253,31 @@
|
|
|
11193
11253
|
},
|
|
11194
11254
|
"additionalProperties": false
|
|
11195
11255
|
},
|
|
11256
|
+
"FunctionComponentDefinition": {
|
|
11257
|
+
"$ref": "#/definitions/FunctionComponentDefinitionConfig"
|
|
11258
|
+
},
|
|
11259
|
+
"FunctionComponentDefinitionConfig": {
|
|
11260
|
+
"type": "object",
|
|
11261
|
+
"properties": {
|
|
11262
|
+
"namedComponents": {
|
|
11263
|
+
"default": "function-declaration",
|
|
11264
|
+
"allOf": [
|
|
11265
|
+
{
|
|
11266
|
+
"$ref": "#/definitions/NamedComponents"
|
|
11267
|
+
}
|
|
11268
|
+
]
|
|
11269
|
+
},
|
|
11270
|
+
"unnamedComponents": {
|
|
11271
|
+
"default": "function-expression",
|
|
11272
|
+
"allOf": [
|
|
11273
|
+
{
|
|
11274
|
+
"$ref": "#/definitions/UnnamedComponents"
|
|
11275
|
+
}
|
|
11276
|
+
]
|
|
11277
|
+
}
|
|
11278
|
+
},
|
|
11279
|
+
"additionalProperties": false
|
|
11280
|
+
},
|
|
11196
11281
|
"GetterReturn": {
|
|
11197
11282
|
"type": "object",
|
|
11198
11283
|
"properties": {
|
|
@@ -12886,6 +12971,14 @@
|
|
|
12886
12971
|
"prefer-inline"
|
|
12887
12972
|
],
|
|
12888
12973
|
"markdownDescription": "Prefer `import { type Foo } from 'foo'` for type imports."
|
|
12974
|
+
},
|
|
12975
|
+
{
|
|
12976
|
+
"description": "Prefer `import type { Foo } from 'foo'` when all named imports are types, but allow\n`import { type Foo, bar } from 'foo'` when value imports are present.",
|
|
12977
|
+
"type": "string",
|
|
12978
|
+
"enum": [
|
|
12979
|
+
"prefer-top-level-if-only-type-imports"
|
|
12980
|
+
],
|
|
12981
|
+
"markdownDescription": "Prefer `import type { Foo } from 'foo'` when all named imports are types, but allow\n`import { type Foo, bar } from 'foo'` when value imports are present."
|
|
12889
12982
|
}
|
|
12890
12983
|
]
|
|
12891
12984
|
},
|
|
@@ -13016,6 +13109,27 @@
|
|
|
13016
13109
|
],
|
|
13017
13110
|
"markdownDescription": "Name specifier that can be a single string or array of strings"
|
|
13018
13111
|
},
|
|
13112
|
+
"NamedComponentStyle": {
|
|
13113
|
+
"type": "string",
|
|
13114
|
+
"enum": [
|
|
13115
|
+
"function-declaration",
|
|
13116
|
+
"arrow-function",
|
|
13117
|
+
"function-expression"
|
|
13118
|
+
]
|
|
13119
|
+
},
|
|
13120
|
+
"NamedComponents": {
|
|
13121
|
+
"anyOf": [
|
|
13122
|
+
{
|
|
13123
|
+
"$ref": "#/definitions/NamedComponentStyle"
|
|
13124
|
+
},
|
|
13125
|
+
{
|
|
13126
|
+
"type": "array",
|
|
13127
|
+
"items": {
|
|
13128
|
+
"$ref": "#/definitions/NamedComponentStyle"
|
|
13129
|
+
}
|
|
13130
|
+
}
|
|
13131
|
+
]
|
|
13132
|
+
},
|
|
13019
13133
|
"NamedExports": {
|
|
13020
13134
|
"type": "string",
|
|
13021
13135
|
"enum": [
|
|
@@ -13036,6 +13150,26 @@
|
|
|
13036
13150
|
},
|
|
13037
13151
|
"additionalProperties": false
|
|
13038
13152
|
},
|
|
13153
|
+
"Namespaces": {
|
|
13154
|
+
"oneOf": [
|
|
13155
|
+
{
|
|
13156
|
+
"description": "Allow declarations directly inside TypeScript namespace or module bodies.",
|
|
13157
|
+
"type": "string",
|
|
13158
|
+
"enum": [
|
|
13159
|
+
"allow"
|
|
13160
|
+
],
|
|
13161
|
+
"markdownDescription": "Allow declarations directly inside TypeScript namespace or module bodies."
|
|
13162
|
+
},
|
|
13163
|
+
{
|
|
13164
|
+
"description": "Disallow declarations directly inside TypeScript namespace or module bodies.",
|
|
13165
|
+
"type": "string",
|
|
13166
|
+
"enum": [
|
|
13167
|
+
"disallow"
|
|
13168
|
+
],
|
|
13169
|
+
"markdownDescription": "Disallow declarations directly inside TypeScript namespace or module bodies."
|
|
13170
|
+
}
|
|
13171
|
+
]
|
|
13172
|
+
},
|
|
13039
13173
|
"NativeAllowList": {
|
|
13040
13174
|
"anyOf": [
|
|
13041
13175
|
{
|
|
@@ -14116,6 +14250,16 @@
|
|
|
14116
14250
|
}
|
|
14117
14251
|
],
|
|
14118
14252
|
"markdownDescription": "Controls whether function declarations in nested blocks are allowed in strict mode (ES6+ behavior)."
|
|
14253
|
+
},
|
|
14254
|
+
"namespaces": {
|
|
14255
|
+
"description": "Controls whether declarations directly inside TypeScript namespace or module bodies are allowed.",
|
|
14256
|
+
"default": null,
|
|
14257
|
+
"allOf": [
|
|
14258
|
+
{
|
|
14259
|
+
"$ref": "#/definitions/Namespaces"
|
|
14260
|
+
}
|
|
14261
|
+
],
|
|
14262
|
+
"markdownDescription": "Controls whether declarations directly inside TypeScript namespace or module bodies are allowed."
|
|
14119
14263
|
}
|
|
14120
14264
|
},
|
|
14121
14265
|
"additionalProperties": false
|
|
@@ -14812,7 +14956,6 @@
|
|
|
14812
14956
|
"properties": {
|
|
14813
14957
|
"allow": {
|
|
14814
14958
|
"description": "These strings will be compiled into regular expressions with the u flag and be used to test against the imported path.\nA common use case is to allow importing `package.json`. This is because `package.json` commonly lives outside of the TS root directory,\nso statically importing it would lead to root directory conflicts, especially with `resolveJsonModule` enabled.\nYou can also use it to allow importing any JSON if your environment doesn't support JSON modules, or use it for other cases where `import` statements cannot work.\n\nWith `{ allow: ['/package\\\\.json$'] }`:\n\nExamples of **correct** code for this rule:\n```ts\nconsole.log(require('../package.json').version);\n```",
|
|
14815
|
-
"default": [],
|
|
14816
14959
|
"type": "array",
|
|
14817
14960
|
"items": {
|
|
14818
14961
|
"type": "string"
|
|
@@ -15230,6 +15373,18 @@
|
|
|
15230
15373
|
},
|
|
15231
15374
|
"additionalProperties": false
|
|
15232
15375
|
},
|
|
15376
|
+
"NoTopLevelAwaitConfig": {
|
|
15377
|
+
"type": "object",
|
|
15378
|
+
"properties": {
|
|
15379
|
+
"ignoreBin": {
|
|
15380
|
+
"description": "If `true`, top-level `await` is allowed in files that start with a\nhashbang (`#!`), which marks them as executable scripts rather than\nimportable modules.",
|
|
15381
|
+
"default": false,
|
|
15382
|
+
"type": "boolean",
|
|
15383
|
+
"markdownDescription": "If `true`, top-level `await` is allowed in files that start with a\nhashbang (`#!`), which marks them as executable scripts rather than\nimportable modules."
|
|
15384
|
+
}
|
|
15385
|
+
},
|
|
15386
|
+
"additionalProperties": false
|
|
15387
|
+
},
|
|
15233
15388
|
"NoTypeofUndefined": {
|
|
15234
15389
|
"type": "object",
|
|
15235
15390
|
"properties": {
|
|
@@ -16249,11 +16404,12 @@
|
|
|
16249
16404
|
"type": "object",
|
|
16250
16405
|
"properties": {
|
|
16251
16406
|
"ignoreProps": {
|
|
16252
|
-
"
|
|
16407
|
+
"description": "Prop names to ignore, as regular expression patterns.",
|
|
16253
16408
|
"type": "array",
|
|
16254
16409
|
"items": {
|
|
16255
16410
|
"type": "string"
|
|
16256
|
-
}
|
|
16411
|
+
},
|
|
16412
|
+
"markdownDescription": "Prop names to ignore, as regular expression patterns."
|
|
16257
16413
|
}
|
|
16258
16414
|
},
|
|
16259
16415
|
"additionalProperties": false
|
|
@@ -16892,12 +17048,26 @@
|
|
|
16892
17048
|
"$ref": "#/definitions/PreferDestructuringOption"
|
|
16893
17049
|
},
|
|
16894
17050
|
{
|
|
16895
|
-
"$ref": "#/definitions/
|
|
17051
|
+
"$ref": "#/definitions/PreferDestructuringEnforcementConfig"
|
|
16896
17052
|
}
|
|
16897
17053
|
],
|
|
16898
17054
|
"maxItems": 2,
|
|
16899
17055
|
"minItems": 2
|
|
16900
17056
|
},
|
|
17057
|
+
"PreferDestructuringEnforcementConfig": {
|
|
17058
|
+
"type": "object",
|
|
17059
|
+
"properties": {
|
|
17060
|
+
"enforceForDeclarationWithTypeAnnotation": {
|
|
17061
|
+
"default": false,
|
|
17062
|
+
"type": "boolean"
|
|
17063
|
+
},
|
|
17064
|
+
"enforceForRenamedProperties": {
|
|
17065
|
+
"default": false,
|
|
17066
|
+
"type": "boolean"
|
|
17067
|
+
}
|
|
17068
|
+
},
|
|
17069
|
+
"additionalProperties": false
|
|
17070
|
+
},
|
|
16901
17071
|
"PreferDestructuringOption": {
|
|
16902
17072
|
"anyOf": [
|
|
16903
17073
|
{
|
|
@@ -16908,16 +17078,6 @@
|
|
|
16908
17078
|
}
|
|
16909
17079
|
]
|
|
16910
17080
|
},
|
|
16911
|
-
"PreferDestructuringRenamedPropertiesConfig": {
|
|
16912
|
-
"type": "object",
|
|
16913
|
-
"properties": {
|
|
16914
|
-
"enforceForRenamedProperties": {
|
|
16915
|
-
"default": false,
|
|
16916
|
-
"type": "boolean"
|
|
16917
|
-
}
|
|
16918
|
-
},
|
|
16919
|
-
"additionalProperties": false
|
|
16920
|
-
},
|
|
16921
17081
|
"PreferDestructuringTargetOption": {
|
|
16922
17082
|
"type": "object",
|
|
16923
17083
|
"properties": {
|
|
@@ -17720,6 +17880,83 @@
|
|
|
17720
17880
|
},
|
|
17721
17881
|
"additionalProperties": false
|
|
17722
17882
|
},
|
|
17883
|
+
"RequireParamConfig": {
|
|
17884
|
+
"type": "object",
|
|
17885
|
+
"properties": {
|
|
17886
|
+
"checkConstructors": {
|
|
17887
|
+
"description": "Whether to check constructor methods.",
|
|
17888
|
+
"default": false,
|
|
17889
|
+
"type": "boolean",
|
|
17890
|
+
"markdownDescription": "Whether to check constructor methods."
|
|
17891
|
+
},
|
|
17892
|
+
"checkDestructured": {
|
|
17893
|
+
"description": "Whether to check destructured parameters.",
|
|
17894
|
+
"default": true,
|
|
17895
|
+
"type": "boolean",
|
|
17896
|
+
"markdownDescription": "Whether to check destructured parameters."
|
|
17897
|
+
},
|
|
17898
|
+
"checkDestructuredRoots": {
|
|
17899
|
+
"description": "Whether to check destructured parameters when you have code like\n`function doSomething({ a, b }) { ... }`. Because there is no named\nparameter in this example, when this option is `true` you must\nhave a `@param` tag that corresponds to `{a, b}`.",
|
|
17900
|
+
"default": true,
|
|
17901
|
+
"type": "boolean",
|
|
17902
|
+
"markdownDescription": "Whether to check destructured parameters when you have code like\n`function doSomething({ a, b }) { ... }`. Because there is no named\nparameter in this example, when this option is `true` you must\nhave a `@param` tag that corresponds to `{a, b}`."
|
|
17903
|
+
},
|
|
17904
|
+
"checkGetters": {
|
|
17905
|
+
"description": "Whether to check getter methods.",
|
|
17906
|
+
"default": true,
|
|
17907
|
+
"type": "boolean",
|
|
17908
|
+
"markdownDescription": "Whether to check getter methods."
|
|
17909
|
+
},
|
|
17910
|
+
"checkRestProperty": {
|
|
17911
|
+
"description": "Whether to check rest properties.",
|
|
17912
|
+
"default": false,
|
|
17913
|
+
"type": "boolean",
|
|
17914
|
+
"markdownDescription": "Whether to check rest properties."
|
|
17915
|
+
},
|
|
17916
|
+
"checkSetters": {
|
|
17917
|
+
"description": "Whether to check setter methods.",
|
|
17918
|
+
"default": true,
|
|
17919
|
+
"type": "boolean",
|
|
17920
|
+
"markdownDescription": "Whether to check setter methods."
|
|
17921
|
+
},
|
|
17922
|
+
"checkTypesPattern": {
|
|
17923
|
+
"description": "Regex pattern to match types that exempt parameters from checking.",
|
|
17924
|
+
"default": "^(?:[oO]bject|[aA]rray|PlainObject|Generic(?:Object|Array))$",
|
|
17925
|
+
"type": "string",
|
|
17926
|
+
"markdownDescription": "Regex pattern to match types that exempt parameters from checking."
|
|
17927
|
+
},
|
|
17928
|
+
"exemptedBy": {
|
|
17929
|
+
"description": "List of JSDoc tags that exempt functions from `@param` checking.",
|
|
17930
|
+
"default": [
|
|
17931
|
+
"inheritdoc"
|
|
17932
|
+
],
|
|
17933
|
+
"type": "array",
|
|
17934
|
+
"items": {
|
|
17935
|
+
"type": "string"
|
|
17936
|
+
},
|
|
17937
|
+
"markdownDescription": "List of JSDoc tags that exempt functions from `@param` checking."
|
|
17938
|
+
},
|
|
17939
|
+
"ignoreWhenAllParamsMissing": {
|
|
17940
|
+
"description": "Set to `true` to ignore reporting when all params are missing. Defaults to `false`.",
|
|
17941
|
+
"default": false,
|
|
17942
|
+
"type": "boolean",
|
|
17943
|
+
"markdownDescription": "Set to `true` to ignore reporting when all params are missing. Defaults to `false`."
|
|
17944
|
+
},
|
|
17945
|
+
"interfaceExemptsParamsCheck": {
|
|
17946
|
+
"description": "Set if you wish TypeScript interfaces to exempt checks for the existence of `@param`'s.\nWill check for a type defining the function itself (on a variable declaration) or if there is a single destructured object with a type. Defaults to `false`.",
|
|
17947
|
+
"default": false,
|
|
17948
|
+
"type": "boolean",
|
|
17949
|
+
"markdownDescription": "Set if you wish TypeScript interfaces to exempt checks for the existence of `@param`'s.\nWill check for a type defining the function itself (on a variable declaration) or if there is a single destructured object with a type. Defaults to `false`."
|
|
17950
|
+
},
|
|
17951
|
+
"useDefaultObjectProperties": {
|
|
17952
|
+
"description": "Set to `true` if you wish to expect documentation of properties on objects supplied as default values. Defaults to `false`.",
|
|
17953
|
+
"default": false,
|
|
17954
|
+
"type": "boolean",
|
|
17955
|
+
"markdownDescription": "Set to `true` if you wish to expect documentation of properties on objects supplied as default values. Defaults to `false`."
|
|
17956
|
+
}
|
|
17957
|
+
},
|
|
17958
|
+
"additionalProperties": false
|
|
17959
|
+
},
|
|
17723
17960
|
"RequireParamDescriptionConfig": {
|
|
17724
17961
|
"type": "object",
|
|
17725
17962
|
"properties": {
|
|
@@ -18682,6 +18919,26 @@
|
|
|
18682
18919
|
},
|
|
18683
18920
|
"additionalProperties": false
|
|
18684
18921
|
},
|
|
18922
|
+
"UnnamedComponentStyle": {
|
|
18923
|
+
"type": "string",
|
|
18924
|
+
"enum": [
|
|
18925
|
+
"arrow-function",
|
|
18926
|
+
"function-expression"
|
|
18927
|
+
]
|
|
18928
|
+
},
|
|
18929
|
+
"UnnamedComponents": {
|
|
18930
|
+
"anyOf": [
|
|
18931
|
+
{
|
|
18932
|
+
"$ref": "#/definitions/UnnamedComponentStyle"
|
|
18933
|
+
},
|
|
18934
|
+
{
|
|
18935
|
+
"type": "array",
|
|
18936
|
+
"items": {
|
|
18937
|
+
"$ref": "#/definitions/UnnamedComponentStyle"
|
|
18938
|
+
}
|
|
18939
|
+
}
|
|
18940
|
+
]
|
|
18941
|
+
},
|
|
18685
18942
|
"UseIsnan": {
|
|
18686
18943
|
"type": "object",
|
|
18687
18944
|
"properties": {
|