Skip to content

Commit

Permalink
fix: make eslint ignore existing fallthrough line
Browse files Browse the repository at this point in the history
  • Loading branch information
dennissterzenbach authored and mojoaxel committed Jul 10, 2022
1 parent 65630be commit cfe2584
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/timeline/TimeStep.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ class TimeStep {
switch (this.scale) {
case 'year':
this.current.year(this.step * Math.floor(this.current.year() / this.step));
this.current.month(0);
this.current.month(0); // eslint-disable-line no-fallthrough
case 'month': this.current.date(1); // eslint-disable-line no-fallthrough
case 'week': // eslint-disable-line no-fallthrough
case 'day': // eslint-disable-line no-fallthrough
Expand Down

0 comments on commit cfe2584

Please sign in to comment.