From c1a74da765329f074d3bd8b2a80282cace1f684d Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 13 Feb 2020 23:34:49 +0400 Subject: feat(eslint): Rule "function-call-argument-newline" Signed-off-by: Valentin Popov --- ROADMAP.md | 2 +- src/rules/default.json | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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", { -- cgit v1.2.3