diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-14 00:22:27 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-14 00:22:27 +0300 |
commit | 0db2687006c75d9665b6706572e97523b073b4f8 (patch) | |
tree | 030f1876851511f7e0c74e80fb540c4654562bdd | |
parent | 228ad3183cdbed0b9fde2a1baa589416db530225 (diff) | |
download | eslint-config-0db2687006c75d9665b6706572e97523b073b4f8.tar.xz eslint-config-0db2687006c75d9665b6706572e97523b073b4f8.zip |
feat(eslint): Rule "array-callback-return"
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/default.json | 6 |
2 files changed, 7 insertions, 1 deletions
@@ -5,7 +5,7 @@ - [ ] "accessor-pairs" - [ ] "array-bracket-newline" - [ ] "array-bracket-spacing" -- [ ] "array-callback-return" +- [X] "array-callback-return" - [ ] "array-element-newline" - [ ] "arrow-body-style" - [X] "arrow-parens" diff --git a/src/rules/default.json b/src/rules/default.json index 6df0efe..1f2f54f 100644 --- a/src/rules/default.json +++ b/src/rules/default.json @@ -1,4 +1,10 @@ { + "array-callback-return": [ + "error", + { + "allowImplicit": false + } + ], "arrow-parens": [ "error", "always" |