aboutsummaryrefslogtreecommitdiff
path: root/src/rules/sonarjs/default.json
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-03-26 20:34:11 +0300
committerValentin Popov <info@valentineus.link>2020-03-26 20:34:11 +0300
commit9ba18706cdcd61618ad1e92f14587fb855deb1c8 (patch)
treed46fd20604975a071a077b06b9c304fa14ea138e /src/rules/sonarjs/default.json
parent4925f485eafcd63b4a60204911a16d405069b1b3 (diff)
downloadeslint-config-9ba18706cdcd61618ad1e92f14587fb855deb1c8.tar.xz
eslint-config-9ba18706cdcd61618ad1e92f14587fb855deb1c8.zip
fix(sonarjs): prefer-immediate-return
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src/rules/sonarjs/default.json')
-rw-r--r--src/rules/sonarjs/default.json2
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": [