diff options
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/default.json | 8 |
2 files changed, 9 insertions, 1 deletions
@@ -214,7 +214,7 @@ - [ ] "no-useless-concat" - [ ] "no-useless-constructor" - [ ] "no-useless-escape" -- [ ] "no-useless-rename" +- [X] "no-useless-rename" - [ ] "no-useless-return" - [X] "no-var" - [ ] "no-void" diff --git a/src/rules/default.json b/src/rules/default.json index 225e061..9da13f1 100644 --- a/src/rules/default.json +++ b/src/rules/default.json @@ -362,6 +362,14 @@ "vars": "all" } ], + "no-useless-rename": [ + "error", + { + "ignoreDestructuring": false, + "ignoreExport": false, + "ignoreImport": false + } + ], "no-var": [ "error" ], |