Skip to content

Commit

Permalink
Add nursery documentation note to preview section (#7671)
Browse files Browse the repository at this point in the history
Ref
#7491 (comment)

---------

Co-authored-by: Micha Reiser <[email protected]>
  • Loading branch information
zanieb and MichaReiser authored Sep 27, 2023
1 parent e863fa5 commit 70ab4b8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/preview.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,12 @@ preview = true
Or, if you provided the `--preview` CLI flag.

To see which rules are currently in preview, visit the [rules reference](rules.md).

## Legacy behavior

Before the preview mode was introduced, new rules were added in a "nursery" category that required selection of
rules with their exact code.

The nursery category has been deprecated and all rules in the nursery are now considered to be in preview. For backwards
compatibility, nursery rules are selectable with their exact codes without enabling preview mode but a warning will
be displayed.

0 comments on commit 70ab4b8

Please sign in to comment.