From 273e1d7ed18e90484d6d9a52e2533d1d90447c9e Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 14 Feb 2020 02:33:19 +0400 Subject: feat(eslint): Rule "no-with" Signed-off-by: Valentin Popov --- ROADMAP.md | 2 +- src/rules/default.json | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ROADMAP.md b/ROADMAP.md index 7a53064..0441607 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -220,7 +220,7 @@ - [ ] "no-void" - [ ] "no-warning-comments" - [ ] "no-whitespace-before-property" -- [ ] "no-with" +- [X] "no-with" - [ ] "nonblock-statement-body-position" - [X] "object-curly-newline" - [X] "object-curly-spacing" diff --git a/src/rules/default.json b/src/rules/default.json index 0611be9..71e824c 100644 --- a/src/rules/default.json +++ b/src/rules/default.json @@ -394,6 +394,9 @@ "no-var": [ "error" ], + "no-with": [ + "error" + ], "object-curly-newline": [ "error", { -- cgit v1.2.3