summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-13 22:34:49 +0300
committerValentin Popov <info@valentineus.link>2020-02-13 22:34:49 +0300
commitc1a74da765329f074d3bd8b2a80282cace1f684d (patch)
tree6611eb38f7a92dbc79a6561a31cf80bdfb6c5bf1
parent1826f5a11595b2e0e0e0d8881ee30430f80dbafc (diff)
downloadeslint-config-c1a74da765329f074d3bd8b2a80282cace1f684d.tar.xz
eslint-config-c1a74da765329f074d3bd8b2a80282cace1f684d.zip
feat(eslint): Rule "function-call-argument-newline"
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 933ce94..6bc1a3d 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -38,7 +38,7 @@
- [ ] "func-name-matching"
- [ ] "func-names"
- [ ] "func-style"
-- [ ] "function-call-argument-newline"
+- [X] "function-call-argument-newline"
- [ ] "function-paren-newline"
- [ ] "generator-star-spacing"
- [ ] "getter-return"
diff --git a/src/rules/default.json b/src/rules/default.json
index a97ecf8..cc57b61 100644
--- a/src/rules/default.json
+++ b/src/rules/default.json
@@ -50,6 +50,10 @@
"error",
"always"
],
+ "function-call-argument-newline": [
+ "error",
+ "consistent"
+ ],
"id-length": [
"warn",
{