Turn on no-fallthrough rule (#11093)

* chore: turn on no-fallthrough

* chore: fix no-fallthrough errors
This commit is contained in:
Huáng Jùnliàng
2020-02-08 06:05:19 +09:00
committed by GitHub
parent 5e58903250
commit 0b3dea8f54
7 changed files with 14 additions and 7 deletions

View File

@@ -1441,7 +1441,7 @@ export default (superClass: Class<Parser>): Class<Parser> =>
);
}
this.unexpected();
throw this.unexpected();
case tt.num:
return this.parseLiteral(
this.state.value,