Skip to content

Commit def53fe

Browse files
committedOct 28, 2020
Disallow empty block statements (no-empty)
Fixes: standard/standard#796
1 parent ffc3c75 commit def53fe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎eslintrc.json

+1
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@
9393
"no-dupe-keys": "error",
9494
"no-duplicate-case": "error",
9595
"no-useless-backreference": "error",
96+
"no-empty": ["error", { "allowEmptyCatch": true }],
9697
"no-empty-character-class": "error",
9798
"no-empty-pattern": "error",
9899
"no-eval": "error",

0 commit comments

Comments
 (0)
Please sign in to comment.