diff --git a/ROADMAP.md b/ROADMAP.md index 74ecf17..91cb41a 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -152,7 +152,7 @@ - [X] "no-negated-in-lhs" - [X] "no-nested-ternary" - [ ] "no-new" -- [ ] "no-new-func" +- [X] "no-new-func" - [ ] "no-new-object" - [ ] "no-new-require" - [ ] "no-new-symbol" diff --git a/src/rules/default.json b/src/rules/default.json index 504747e..a59b8d3 100644 --- a/src/rules/default.json +++ b/src/rules/default.json @@ -296,6 +296,9 @@ "no-nested-ternary": [ "error" ], + "no-new-func": [ + "error" + ], "no-spaced-func": [ "off" ],