Skip to content

Commit

Permalink
docs: Update the second object instance for the "no-new" rule (#17020)
Browse files Browse the repository at this point in the history
* docs: Removed the second object instance for the "no-new" rule

* docs: re-define the function name
  • Loading branch information
sir-kain committed Apr 2, 2023
1 parent 518130a commit da8d52a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/rules/no-new.md
Expand Up @@ -43,7 +43,7 @@ Examples of **correct** code for this rule:

var thing = new Thing();

Thing();
Foo();
```

:::

0 comments on commit da8d52a

Please sign in to comment.