aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-13 21:49:40 +0300
committerValentin Popov <info@valentineus.link>2020-02-13 21:49:40 +0300
commite914d9f80e3bdde324a0c62cb144739be57c394f (patch)
treee338b6914f7716cd0af31ac7ef02cac8209e732e
parent877c5f7ad13849f8b069f1edc862eb83afb5b683 (diff)
downloadeslint-config-e914d9f80e3bdde324a0c62cb144739be57c394f.tar.xz
eslint-config-e914d9f80e3bdde324a0c62cb144739be57c394f.zip
feat(eslint): Rule "no-undefined"
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 ee03e01..59371bc 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -195,7 +195,7 @@
- [ ] "no-trailing-spaces"
- [ ] "no-undef"
- [ ] "no-undef-init"
-- [ ] "no-undefined"
+- [X] "no-undefined"
- [X] "no-underscore-dangle"
- [ ] "no-unexpected-multiline"
- [ ] "no-unmodified-loop-condition"
diff --git a/src/rules/default.json b/src/rules/default.json
index 16571dc..7e77f6e 100644
--- a/src/rules/default.json
+++ b/src/rules/default.json
@@ -149,6 +149,9 @@
"no-ternary": [
"off"
],
+ "no-undefined": [
+ "off"
+ ],
"no-underscore-dangle": [
"error",
{