From 3f21bbb9363671b9f202107568d9cc2dfa325b58 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 14 Feb 2020 01:30:31 +0400 Subject: feat(eslint): Rule "no-extend-native" 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 3597124..d221817 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -113,7 +113,7 @@ - [ ] "no-eq-null" - [X] "no-eval" - [ ] "no-ex-assign" -- [ ] "no-extend-native" +- [X] "no-extend-native" - [ ] "no-extra-bind" - [ ] "no-extra-boolean-cast" - [ ] "no-extra-label" diff --git a/src/rules/default.json b/src/rules/default.json index 7c2564c..8750343 100644 --- a/src/rules/default.json +++ b/src/rules/default.json @@ -236,6 +236,9 @@ "allowIndirect": false } ], + "no-extend-native": [ + "error" + ], "no-extra-semi": [ "error" ], -- cgit v1.2.3