summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-14 01:40:01 +0300
committerValentin Popov <info@valentineus.link>2020-02-14 01:40:01 +0300
commitc6c3b6b7694ff077c483e2558742ef0658d0b701 (patch)
treee8c6efe1860e0369f60d622976a77cbf1f3a4cc8
parent0b1811525f4ca2aa5c562de031b634cf90f5f0c1 (diff)
downloadeslint-config-c6c3b6b7694ff077c483e2558742ef0658d0b701.tar.xz
eslint-config-c6c3b6b7694ff077c483e2558742ef0658d0b701.zip
feat(eslint): Rule "strict"
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r--ROADMAP.md2
-rw-r--r--src/rules/default.json4
2 files changed, 5 insertions, 1 deletions
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"
],