We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6ccfb3 commit 1ccb4d2Copy full SHA for 1ccb4d2
2 files changed
.eslintrc
@@ -57,7 +57,7 @@
57
"microsoft-typescript/no-double-space": "off",
58
"microsoft-typescript/boolean-trivia": "off",
59
"microsoft-typescript/no-in-operator": "off",
60
- "microsoft-typescript/debug-assert": "off",
+ "microsoft-typescript/debug-assert": "error",
61
"microsoft-typescript/no-keywords": "off",
62
63
"arrow-body-style": "off",
src/services/services.ts
@@ -35,7 +35,7 @@ namespace ts {
35
}
36
37
private assertHasRealPosition(message?: string) {
38
- // tslint:disable-next-line:debug-assert
+ // eslint-disable-next-line microsoft-typescript/debug-assert
39
Debug.assert(!positionIsSynthesized(this.pos) && !positionIsSynthesized(this.end), message || "Node must have a real position for this operation");
40
41
0 commit comments