diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-13 22:34:49 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-13 22:34:49 +0300 |
commit | c1a74da765329f074d3bd8b2a80282cace1f684d (patch) | |
tree | 6611eb38f7a92dbc79a6561a31cf80bdfb6c5bf1 | |
parent | 1826f5a11595b2e0e0e0d8881ee30430f80dbafc (diff) | |
download | eslint-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.md | 2 | ||||
-rw-r--r-- | src/rules/default.json | 4 |
2 files changed, 5 insertions, 1 deletions
@@ -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", { |