feat(eslint): Rule "no-empty"
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
53aa29b89a
commit
cefbe49db9
@ -106,7 +106,7 @@
|
|||||||
- [ ] "no-duplicate-case"
|
- [ ] "no-duplicate-case"
|
||||||
- [ ] "no-duplicate-imports"
|
- [ ] "no-duplicate-imports"
|
||||||
- [ ] "no-else-return"
|
- [ ] "no-else-return"
|
||||||
- [ ] "no-empty"
|
- [X] "no-empty"
|
||||||
- [ ] "no-empty-character-class"
|
- [ ] "no-empty-character-class"
|
||||||
- [ ] "no-empty-function"
|
- [ ] "no-empty-function"
|
||||||
- [ ] "no-empty-pattern"
|
- [ ] "no-empty-pattern"
|
||||||
|
@ -197,6 +197,12 @@
|
|||||||
"no-debugger": [
|
"no-debugger": [
|
||||||
"warn"
|
"warn"
|
||||||
],
|
],
|
||||||
|
"no-empty": [
|
||||||
|
"warn",
|
||||||
|
{
|
||||||
|
"allowEmptyCatch": false
|
||||||
|
}
|
||||||
|
],
|
||||||
"no-eval": [
|
"no-eval": [
|
||||||
"error",
|
"error",
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user