aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-14 01:31:45 +0300
committerValentin Popov <info@valentineus.link>2020-02-14 01:31:45 +0300
commit7061ae1ad706832662d2c72bc866facae00676f2 (patch)
treefee84e5bd49c22c522ac4fab13247cbfba4e2a40 /src
parent89417413948233b86d5a1a8a8d2dab4c3a00b8c0 (diff)
downloadeslint-config-7061ae1ad706832662d2c72bc866facae00676f2.tar.xz
eslint-config-7061ae1ad706832662d2c72bc866facae00676f2.zip
feat(eslint): Rule "no-useless-return"
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src')
-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 9cdbcc9..0611be9 100644
--- a/src/rules/default.json
+++ b/src/rules/default.json
@@ -388,6 +388,9 @@
"ignoreImport": false
}
],
+ "no-useless-return": [
+ "error"
+ ],
"no-var": [
"error"
],