Skip to content

Commit 1ccb4d2

Browse files
committed
microsoft-typescript/debug-assert
1 parent f6ccfb3 commit 1ccb4d2

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.eslintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"microsoft-typescript/no-double-space": "off",
5858
"microsoft-typescript/boolean-trivia": "off",
5959
"microsoft-typescript/no-in-operator": "off",
60-
"microsoft-typescript/debug-assert": "off",
60+
"microsoft-typescript/debug-assert": "error",
6161
"microsoft-typescript/no-keywords": "off",
6262

6363
"arrow-body-style": "off",

src/services/services.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ namespace ts {
3535
}
3636

3737
private assertHasRealPosition(message?: string) {
38-
// tslint:disable-next-line:debug-assert
38+
// eslint-disable-next-line microsoft-typescript/debug-assert
3939
Debug.assert(!positionIsSynthesized(this.pos) && !positionIsSynthesized(this.end), message || "Node must have a real position for this operation");
4040
}
4141

0 commit comments

Comments
 (0)