Skip to content

Commit e2e3de3

Browse files
Docs: add example to consistent-output with output: null
1 parent 090091e commit e2e3de3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: docs/rules/consistent-output.md

+5
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ new RuleTester().run('example-rule', rule, {
4545
code: 'bar',
4646
output: 'qux',
4747
errors: ['baz']
48+
},
49+
{
50+
code: 'foo',
51+
output: null,
52+
errors: ['baz']
4853
}
4954
]
5055
});

0 commit comments

Comments
 (0)