aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-13 21:54:18 +0300
committerValentin Popov <info@valentineus.link>2020-02-13 21:54:18 +0300
commitf49a9ddf6694d1542171c4ce8bd4ea153493319a (patch)
tree7594e8cb3d92946241c345191051691308893e5a
parent2bd897000434fd05ba2b136b800a7bee7099f2e8 (diff)
downloadeslint-config-f49a9ddf6694d1542171c4ce8bd4ea153493319a.tar.xz
eslint-config-f49a9ddf6694d1542171c4ce8bd4ea153493319a.zip
feat(eslint): Rule "multiline-comment-style'
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 fd16a37..08840b7 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -70,7 +70,7 @@
- [ ] "max-params"
- [ ] "max-statements"
- [ ] "max-statements-per-line"
-- [ ] "multiline-comment-style"
+- [X] "multiline-comment-style"
- [ ] "multiline-ternary"
- [X] "new-cap"
- [ ] "new-parens"
diff --git a/src/rules/default.json b/src/rules/default.json
index d9d03f4..ce5bbe1 100644
--- a/src/rules/default.json
+++ b/src/rules/default.json
@@ -89,6 +89,10 @@
"lines-around-directive": [
"off"
],
+ "multiline-comment-style": [
+ "error",
+ "starred-block"
+ ],
"new-cap": [
"error",
{