Skip to content

Commit

Permalink
chore(deps): update typescript-eslint monorepo to v6.13.1 (stryker-mu…
Browse files Browse the repository at this point in the history
…tator#4584)

* chore(deps): update typescript-eslint monorepo to v6.13.1

* fix eslint warnings for grabbed code

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Nico Jansen <[email protected]>
  • Loading branch information
renovate[bot] and nicojs authored Nov 30, 2023
1 parent 1ccaa58 commit 9ca8013
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 46 deletions.
88 changes: 44 additions & 44 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"@types/sinon": "17.0.2",
"@types/sinon-chai": "3.2.12",
"@types/source-map-support": "0.5.10",
"@typescript-eslint/eslint-plugin": "6.10.0",
"@typescript-eslint/parser": "6.10.0",
"@typescript-eslint/eslint-plugin": "6.13.1",
"@typescript-eslint/parser": "6.13.1",
"c8": "8.0.1",
"chai": "4.3.10",
"chai-as-promised": "7.1.1",
Expand Down
2 changes: 2 additions & 0 deletions packages/instrumenter/src/util/position-converter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,14 @@ export class PositionConverter {
const ch = text.charCodeAt(pos);
pos++;
switch (ch) {
// eslint-disable-next-line @typescript-eslint/no-unsafe-enum-comparison
case CharacterCodes.carriageReturn:
// eslint-disable-next-line @typescript-eslint/no-unsafe-enum-comparison
if (text.charCodeAt(pos) === CharacterCodes.lineFeed) {
pos++;
}
// falls through
// eslint-disable-next-line @typescript-eslint/no-unsafe-enum-comparison
case CharacterCodes.lineFeed:
result.push(lineStart);
lineStart = pos;
Expand Down

0 comments on commit 9ca8013

Please sign in to comment.