You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -384,22 +391,33 @@ If set to `false`, the fixer will be disabled.
384
391
385
392
#### `fixer.*`
386
393
387
-
By default we only configure the fixer to correct shallow readonly violations as TypeScript itself provides a utility type for this.
394
+
Configure how the fixer should fix issue of each of the different enforcement levels.
395
+
396
+
### `suggestions`
397
+
398
+
This is the same as `fixer` but for manual suggestions instead of automatic fixers.
399
+
If set to `false`, the no suggestions will be enabled.
400
+
401
+
### `suggestions[*].*`
402
+
403
+
Configure how the suggestion should fix issue of each of the different enforcement levels.
404
+
405
+
By default we only configure the suggestions to correct shallow readonly violations as TypeScript itself provides a utility type for this.
388
406
If you have access to other utility types (such as [type-fest's `ReadonlyDeep`](https://github.com/sindresorhus/type-fest#:~:text=set%20to%20optional.-,ReadonlyDeep,-%2D%20Create%20a%20deeply)), you can configure the fixer to use them with this option.
389
407
390
408
Example using `ReadonlyDeep` instead of `Readonly`:
0 commit comments