aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-14 00:30:31 +0300
committerValentin Popov <info@valentineus.link>2020-02-14 00:30:31 +0300
commit3f21bbb9363671b9f202107568d9cc2dfa325b58 (patch)
tree9a0b960699dc9e7fe44530913d3657cf71c64972
parentab55229cd3b246378f99e743bbaa4cbb6ce9a034 (diff)
downloadeslint-config-3f21bbb9363671b9f202107568d9cc2dfa325b58.tar.xz
eslint-config-3f21bbb9363671b9f202107568d9cc2dfa325b58.zip
feat(eslint): Rule "no-extend-native"
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r--ROADMAP.md2
-rw-r--r--src/rules/default.json3
2 files changed, 4 insertions, 1 deletions
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"
],