summaryrefslogtreecommitdiff
path: root/src/rules/default.json
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-14 10:59:25 +0300
committerValentin Popov <info@valentineus.link>2020-02-14 10:59:25 +0300
commit059976ca5a189f20c42875346021246b5789907f (patch)
treedb3313f981d4b5d8aa7a23a111b7146646b0c5af /src/rules/default.json
parent7928a93ea7c21a99873c0bab9c73e86865227321 (diff)
downloadeslint-config-059976ca5a189f20c42875346021246b5789907f.tar.xz
eslint-config-059976ca5a189f20c42875346021246b5789907f.zip
feat(eslint): Rule "callback-return"
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src/rules/default.json')
-rw-r--r--src/rules/default.json3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rules/default.json b/src/rules/default.json
index 7bc82bd..98937aa 100644
--- a/src/rules/default.json
+++ b/src/rules/default.json
@@ -23,6 +23,9 @@
"allowSingleLine": false
}
],
+ "callback-return": [
+ "warn"
+ ],
"camelcase": [
"error",
{