From c6c3b6b7694ff077c483e2558742ef0658d0b701 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 14 Feb 2020 02:40:01 +0400 Subject: feat(eslint): Rule "strict" Signed-off-by: Valentin Popov --- ROADMAP.md | 2 +- src/rules/default.json | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ROADMAP.md b/ROADMAP.md index c8c4261..43aeb2c 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -266,7 +266,7 @@ - [ ] "space-infix-ops" - [ ] "space-unary-ops" - [ ] "spaced-comment" -- [ ] "strict" +- [X] "strict" - [ ] "switch-colon-spacing" - [ ] "symbol-description" - [ ] "template-curly-spacing" diff --git a/src/rules/default.json b/src/rules/default.json index 79cb99b..62d5ffe 100644 --- a/src/rules/default.json +++ b/src/rules/default.json @@ -541,6 +541,10 @@ "named": "never" } ], + "strict": [ + "error", + "safe" + ], "valid-jsdoc": [ "off" ], -- cgit v1.2.3