diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-14 00:18:16 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-14 00:18:16 +0300 |
commit | cefbe49db91a5c6a9ebac32efc77dc226662d38a (patch) | |
tree | 1b1f7c481e03028eace6315ff28bcb4e0f388cdd /src | |
parent | 53aa29b89a118069299ad2dd1d88df9698e2fe9a (diff) | |
download | eslint-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')
-rw-r--r-- | src/rules/default.json | 6 |
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", { |