Skip to content

Commit

Permalink
ignore max-classes-per-file esline rule locally
Browse files Browse the repository at this point in the history
  • Loading branch information
pavinduLakshan committed Apr 26, 2021
1 parent 01cd4b3 commit 08eda5d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/utils/RecurringTimeUnit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,21 @@ export abstract class RecurringTimeUnit {
}
}

/* tslint:disable:max-classes-per-file */
export class Week extends RecurringTimeUnit{
constructor(nWeeks:number){
super(nWeeks,TimeUnit.WEEK);
}
}

/* tslint:disable:max-classes-per-file */
export class Month extends RecurringTimeUnit{
constructor(nMonths:number){
super(nMonths,TimeUnit.MONTH);
}
}

/* tslint:disable:max-classes-per-file */
export class Year extends RecurringTimeUnit{
constructor(nYears:number){
super(nYears,TimeUnit.YEAR);
Expand Down

0 comments on commit 08eda5d

Please sign in to comment.