Skip to content

Commit ecf6c02

Browse files
committed
review
1 parent 500d985 commit ecf6c02

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/src/docs/product/migration-guide.mdx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ The `migrate` command enforces the following default values:
3737
- `run.concurrency`: if the existing value was `0`, it is removed as `0` is the new default.
3838
- `run.relative-path-mode`: if the existing value was `cfg`, it is removed as `cfg` is the new default.
3939

40-
`linters.presets` has been removed. The `migrate` command **automatically adds individual linters to `linters.enable`.**
41-
4240
`issues.exclude-generated` has a new default value (v1 `lax`, v2 `strict`), so this field will be added during the migration to maintain the previous behavior.
4341

4442
`issues.exclude-dirs-use-default` has been removed, so it is converted to `linters.exclusions.paths` and, if needed, `formatters.exclusions.paths`.
4543

4644
Other fields explicitly defined in the configuration file are migrated even if the value is the same as the default value.
4745

46+
The `migrate` command automatically migrates `linters.presets` in individual linters to `linters.enable`.
47+
4848
```txt
4949
Migrate configuration file from v1 to v2
5050
@@ -191,7 +191,9 @@ There are 2 new options (they are not strictly equivalent to the previous option
191191

192192
#### `linters.presets`
193193

194-
This property has been removed. The `migrate` command **automatically adds individual linters to `linters.enable`.**
194+
This property has been removed.
195+
196+
The `migrate` command automatically migrates `linters.presets` in individual linters to `linters.enable`.
195197

196198
<details>
197199
<summary style={{color: '#737380', paddingLeft: '1rem'}}>v1</summary>

0 commit comments

Comments
 (0)