diff --git a/docs/rules/prefer-output-null.md b/docs/rules/prefer-output-null.md index d247504d..9bd9ab44 100644 --- a/docs/rules/prefer-output-null.md +++ b/docs/rules/prefer-output-null.md @@ -2,6 +2,8 @@ (fixable) The `--fix` option on the [command line](../user-guide/command-line-interface#fix) automatically fixes problems reported by this rule. +Instead of repeating the test case `code`, using `output: null` is more concise and makes it easier to distinguish whether a test case provides an autofix. + ## Rule Details The rule reports an error if it encounters a test case where the output is the same as the code.