Skip to content

Commit

Permalink
disable eslint rule "no-case-declarations" for one line
Browse files Browse the repository at this point in the history
  • Loading branch information
kmorcinek committed Feb 27, 2023
1 parent b86e6ac commit 6d35b6a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Province.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export class Province {
let rest: string = population;
let resources = 0;

// eslint-disable-next-line no-constant-condition
while (true) {
// TODO: charCodeAt() should get a length of 'rest'
const lastChar = rest[rest.length - 1];
Expand Down

0 comments on commit 6d35b6a

Please sign in to comment.