Skip to content

Commit 4b5d08e

Browse files
committed
Fix the generated-config.md depth
1 parent d4636bf commit 4b5d08e

File tree

1 file changed

+48
-48
lines changed

1 file changed

+48
-48
lines changed

src/docs/guide/usage/linter/generated-config.md

Lines changed: 48 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Example
5757
}
5858
```
5959

60-
### categories
60+
## categories
6161

6262
type: `object`
6363

@@ -79,21 +79,21 @@ Example
7979
}
8080
```
8181

82-
#### categories.correctness
82+
### categories.correctness
8383

84-
#### categories.nursery
84+
### categories.nursery
8585

86-
#### categories.pedantic
86+
### categories.pedantic
8787

88-
#### categories.perf
88+
### categories.perf
8989

90-
#### categories.restriction
90+
### categories.restriction
9191

92-
#### categories.style
92+
### categories.style
9393

94-
#### categories.suspicious
94+
### categories.suspicious
9595

96-
### env
96+
## env
9797

9898
type: `Record<string, boolean>`
9999

@@ -112,7 +112,7 @@ are resolved relative to the location of the configuration file that contains th
112112
property. The configuration files are merged from the first to the last, with the last file
113113
overriding the previous ones.
114114

115-
### globals
115+
## globals
116116

117117
type: `Record<string, string>`
118118

@@ -157,33 +157,33 @@ JS plugins.
157157
Note: JS plugins are experimental and not subject to semver.
158158
They are not supported in language server at present.
159159

160-
### overrides
160+
## overrides
161161

162162
type: `array`
163163

164-
#### overrides[n]
164+
### overrides[n]
165165

166166
type: `object`
167167

168-
##### overrides[n].env
168+
#### overrides[n].env
169169

170170
type: `object | null`
171171

172172
Environments enable and disable collections of global variables.
173173

174-
###### overrides[n].files
174+
#### overrides[n].files
175175

176176
type: `string[]`
177177

178178
A set of glob patterns.
179179

180-
##### overrides[n].globals
180+
#### overrides[n].globals
181181

182182
type: `object | null`
183183

184184
Enabled or disabled specific global variables.
185185

186-
##### overrides[n].jsPlugins
186+
#### overrides[n].jsPlugins
187187

188188
type: `string[]`
189189

@@ -192,7 +192,7 @@ JS plugins for this override.
192192
Note: JS plugins are experimental and not subject to semver.
193193
They are not supported in language server at present.
194194

195-
##### overrides[n].plugins
195+
#### overrides[n].plugins
196196

197197
type: `array | null`
198198

@@ -201,11 +201,11 @@ default: `null`
201201
Optionally change what plugins are enabled for this override. When
202202
omitted, the base config's plugins are used.
203203

204-
###### overrides[n].plugins[n]
204+
##### overrides[n].plugins[n]
205205

206206
type: `string`
207207

208-
###### overrides[n].rules
208+
#### overrides[n].rules
209209

210210
type: `object`
211211

@@ -228,13 +228,13 @@ The `plugins` array should reflect all of the plugins you want to use.
228228

229229
type: `string`
230230

231-
### rules
231+
## rules
232232

233233
type: `object`
234234

235235
See [Oxlint Rules](https://oxc.rs/docs/guide/usage/linter/rules.html)
236236

237-
### settings
237+
## settings
238238

239239
type: `object`
240240

@@ -266,73 +266,73 @@ Here's an example if you're using Next.js in a monorepo:
266266
}
267267
```
268268

269-
##### settings.jsdoc
269+
### settings.jsdoc
270270

271271
type: `object`
272272

273-
###### settings.jsdoc.augmentsExtendsReplacesDocs
273+
#### settings.jsdoc.augmentsExtendsReplacesDocs
274274

275275
type: `boolean`
276276

277277
default: `false`
278278

279279
Only for `require-(yields|returns|description|example|param|throws)` rule
280280

281-
###### settings.jsdoc.exemptDestructuredRootsFromChecks
281+
#### settings.jsdoc.exemptDestructuredRootsFromChecks
282282

283283
type: `boolean`
284284

285285
default: `false`
286286

287287
Only for `require-param-type` and `require-param-description` rule
288288

289-
###### settings.jsdoc.ignoreInternal
289+
#### settings.jsdoc.ignoreInternal
290290

291291
type: `boolean`
292292

293293
default: `false`
294294

295295
For all rules but NOT apply to `empty-tags` rule
296296

297-
###### settings.jsdoc.ignorePrivate
297+
#### settings.jsdoc.ignorePrivate
298298

299299
type: `boolean`
300300

301301
default: `false`
302302

303303
For all rules but NOT apply to `check-access` and `empty-tags` rule
304304

305-
###### settings.jsdoc.ignoreReplacesDocs
305+
#### settings.jsdoc.ignoreReplacesDocs
306306

307307
type: `boolean`
308308

309309
default: `true`
310310

311311
Only for `require-(yields|returns|description|example|param|throws)` rule
312312

313-
###### settings.jsdoc.implementsReplacesDocs
313+
#### settings.jsdoc.implementsReplacesDocs
314314

315315
type: `boolean`
316316

317317
default: `false`
318318

319319
Only for `require-(yields|returns|description|example|param|throws)` rule
320320

321-
###### settings.jsdoc.overrideReplacesDocs
321+
#### settings.jsdoc.overrideReplacesDocs
322322

323323
type: `boolean`
324324

325325
default: `true`
326326

327327
Only for `require-(yields|returns|description|example|param|throws)` rule
328328

329-
###### settings.jsdoc.tagNamePreference
329+
#### settings.jsdoc.tagNamePreference
330330

331331
type: `object`
332332

333333
default: `{}`
334334

335-
##### settings.jsx-a11y
335+
### settings.jsx-a11y
336336

337337
type: `object`
338338

@@ -342,7 +342,7 @@ See
342342
[eslint-plugin-jsx-a11y](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y#configurations)'s
343343
configuration for a full reference.
344344

345-
###### settings.jsx-a11y.attributes
345+
#### settings.jsx-a11y.attributes
346346

347347
type: `Record<string, array>`
348348

@@ -365,7 +365,7 @@ Example:
365365
}
366366
```
367367

368-
###### settings.jsx-a11y.components
368+
#### settings.jsx-a11y.components
369369

370370
type: `Record<string, string>`
371371

@@ -389,7 +389,7 @@ Example:
389389
}
390390
```
391391

392-
###### settings.jsx-a11y.polymorphicPropName
392+
#### settings.jsx-a11y.polymorphicPropName
393393

394394
type: `string | null`
395395

@@ -406,29 +406,29 @@ For example, if you set the `polymorphicPropName` to `as`, then this element:
406406
Will be treated as an `h3`. If not set, this component will be treated
407407
as a `Box`.
408408

409-
##### settings.next
409+
### settings.next
410410

411411
type: `object`
412412

413413
Configure Next.js plugin rules.
414414

415-
####### settings.next.rootDir
415+
#### settings.next.rootDir
416416

417417
type: `array | string`
418418

419-
######## settings.next.rootDir[n]
419+
##### settings.next.rootDir[n]
420420

421421
type: `string`
422422

423-
##### settings.react
423+
### settings.react
424424

425425
type: `object`
426426

427427
Configure React plugin rules.
428428

429429
Derived from [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react#configuration-legacy-eslintrc-)
430430

431-
###### settings.react.formComponents
431+
#### settings.react.formComponents
432432

433433
type: `array`
434434

@@ -454,19 +454,19 @@ Example:
454454
}
455455
```
456456

457-
####### settings.react.formComponents[n]
457+
##### settings.react.formComponents[n]
458458

459459
type: `object | string`
460460

461-
######## settings.react.formComponents[n].attribute
461+
###### settings.react.formComponents[n].attribute
462462

463463
type: `string`
464464

465-
######## settings.react.formComponents[n].name
465+
###### settings.react.formComponents[n].name
466466

467467
type: `string`
468468

469-
###### settings.react.linkComponents
469+
#### settings.react.linkComponents
470470

471471
type: `array`
472472

@@ -493,19 +493,19 @@ Example:
493493
}
494494
```
495495

496-
####### settings.react.linkComponents[n]
496+
##### settings.react.linkComponents[n]
497497

498498
type: `object | string`
499499

500-
######## settings.react.linkComponents[n].attribute
500+
###### settings.react.linkComponents[n].attribute
501501

502502
type: `string`
503503

504-
######## settings.react.linkComponents[n].name
504+
###### settings.react.linkComponents[n].name
505505

506506
type: `string`
507507

508-
##### settings.vitest
508+
### settings.vitest
509509

510510
type: `object`
511511

@@ -514,7 +514,7 @@ Configure Vitest plugin rules.
514514
See [eslint-plugin-vitest](https://github.com/veritem/eslint-plugin-vitest)'s
515515
configuration for a full reference.
516516

517-
###### settings.vitest.typecheck
517+
#### settings.vitest.typecheck
518518

519519
type: `boolean`
520520

0 commit comments

Comments
 (0)