diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-14 01:31:45 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-14 01:31:45 +0300 |
commit | 7061ae1ad706832662d2c72bc866facae00676f2 (patch) | |
tree | fee84e5bd49c22c522ac4fab13247cbfba4e2a40 /src | |
parent | 89417413948233b86d5a1a8a8d2dab4c3a00b8c0 (diff) | |
download | eslint-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.json | 3 |
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" ], |