aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-14 00:22:27 +0300
committerValentin Popov <info@valentineus.link>2020-02-14 00:22:27 +0300
commit0db2687006c75d9665b6706572e97523b073b4f8 (patch)
tree030f1876851511f7e0c74e80fb540c4654562bdd /src
parent228ad3183cdbed0b9fde2a1baa589416db530225 (diff)
downloadeslint-config-0db2687006c75d9665b6706572e97523b073b4f8.tar.xz
eslint-config-0db2687006c75d9665b6706572e97523b073b4f8.zip
feat(eslint): Rule "array-callback-return"
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src')
-rw-r--r--src/rules/default.json6
1 files changed, 6 insertions, 0 deletions
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"