Turn on no-fallthrough rule (#11093)
* chore: turn on no-fallthrough * chore: fix no-fallthrough errors
This commit is contained in:
@@ -1058,7 +1058,7 @@ export default class ExpressionParser extends LValParser {
|
||||
|
||||
case tt.at:
|
||||
this.parseDecorators();
|
||||
|
||||
// fall through
|
||||
case tt._class:
|
||||
node = this.startNode();
|
||||
this.takeDecorators(node);
|
||||
@@ -1111,7 +1111,7 @@ export default class ExpressionParser extends LValParser {
|
||||
return this.finishNode(node, "PipelinePrimaryTopicReference");
|
||||
}
|
||||
}
|
||||
|
||||
// fall through
|
||||
default:
|
||||
throw this.unexpected();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user