aboutsummaryrefslogtreecommitdiff
path: root/src/rules
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-14 00:18:16 +0300
committerValentin Popov <info@valentineus.link>2020-02-14 00:18:16 +0300
commitcefbe49db91a5c6a9ebac32efc77dc226662d38a (patch)
tree1b1f7c481e03028eace6315ff28bcb4e0f388cdd /src/rules
parent53aa29b89a118069299ad2dd1d88df9698e2fe9a (diff)
downloadeslint-config-cefbe49db91a5c6a9ebac32efc77dc226662d38a.tar.xz
eslint-config-cefbe49db91a5c6a9ebac32efc77dc226662d38a.zip
feat(eslint): Rule "no-empty"
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src/rules')
-rw-r--r--src/rules/default.json6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/rules/default.json b/src/rules/default.json
index d3b3cb1..0621268 100644
--- a/src/rules/default.json
+++ b/src/rules/default.json
@@ -197,6 +197,12 @@
"no-debugger": [
"warn"
],
+ "no-empty": [
+ "warn",
+ {
+ "allowEmptyCatch": false
+ }
+ ],
"no-eval": [
"error",
{