diff options
author | Valentin Popov <info@valentineus.link> | 2020-03-26 20:34:11 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-03-26 20:34:11 +0300 |
commit | 9ba18706cdcd61618ad1e92f14587fb855deb1c8 (patch) | |
tree | d46fd20604975a071a077b06b9c304fa14ea138e | |
parent | 4925f485eafcd63b4a60204911a16d405069b1b3 (diff) | |
download | eslint-config-9ba18706cdcd61618ad1e92f14587fb855deb1c8.tar.xz eslint-config-9ba18706cdcd61618ad1e92f14587fb855deb1c8.zip |
fix(sonarjs): prefer-immediate-return
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r-- | src/rules/sonarjs/default.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rules/sonarjs/default.json b/src/rules/sonarjs/default.json index cc5897a..5c39836 100644 --- a/src/rules/sonarjs/default.json +++ b/src/rules/sonarjs/default.json @@ -65,7 +65,7 @@ "sonarjs/no-useless-catch": [ "warn" ], - "sonarjs/please-immediate-return": [ + "sonarjs/prefer-immediate-return": [ "error" ], "sonarjs/prefer-object-literal": [ |