summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ROADMAP.md2
-rw-r--r--src/rules/default.json6
2 files changed, 7 insertions, 1 deletions
diff --git a/ROADMAP.md b/ROADMAP.md
index e78818c..e0102ae 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -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"