Skip to content

Commit 27bd9f0

Browse files
committed
docs(no-new-statics): add mention of the rule being fixable
1 parent 3fe3f3a commit 27bd9f0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/rules/no-new-statics.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
Calling a Promise static method with `new` is invalid, resulting in a
44
`TypeError` at runtime.
55

6+
:wrench: The `--fix` option on the command line can automatically fix the
7+
problems reported by this rule.
8+
69
## Rule Details
710

811
This rule is aimed at flagging instances where a Promise static method is called

0 commit comments

Comments
 (0)