summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-19 13:31:47 +0300
committerValentin Popov <info@valentineus.link>2020-02-19 13:31:47 +0300
commit4aeb8473fa56acfed2321a4c11a4c0dfececffb4 (patch)
treea819ac868ff5beaccc96f62df15066afdd89e912
parent5e92aa597af16273896bed9675ad59afff6d74d7 (diff)
downloadeslint-config-4aeb8473fa56acfed2321a4c11a4c0dfececffb4.tar.xz
eslint-config-4aeb8473fa56acfed2321a4c11a4c0dfececffb4.zip
feat(eslint): no-process-env
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r--ROADMAP.md2
-rw-r--r--src/rules/javascript/default.json3
2 files changed, 4 insertions, 1 deletions
diff --git a/ROADMAP.md b/ROADMAP.md
index bd3dad9..50b0d0a 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -163,7 +163,7 @@
- [ ] "no-param-reassign"
- [X] "no-path-concat"
- [ ] "no-plusplus"
-- [ ] "no-process-env"
+- [X] "no-process-env"
- [ ] "no-process-exit"
- [X] "no-proto"
- [ ] "no-prototype-builtins"
diff --git a/src/rules/javascript/default.json b/src/rules/javascript/default.json
index 78bc025..bdbe94b 100644
--- a/src/rules/javascript/default.json
+++ b/src/rules/javascript/default.json
@@ -350,6 +350,9 @@
"no-path-concat": [
"error"
],
+ "no-process-env": [
+ "off"
+ ],
"no-proto": [
"error"
],