-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
42 additions
and
1 deletion.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
.yarn/patches/@definitelytyped-dtslint-npm-0.0.112-1e6b842976.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
diff --git a/dist/lint.js b/dist/lint.js | ||
index ae29f2a0936fe8e4dee9b4a607ed5c611872d30d..96746c55f2df24c6d09ee30ff85e404138ad0fbe 100644 | ||
--- a/dist/lint.js | ||
+++ b/dist/lint.js | ||
@@ -107,9 +107,9 @@ function startsWithDirectory(filePath, dirPath) { | ||
return normalFilePath.startsWith(normalDirPath + "/") || normalFilePath.startsWith(normalDirPath + "\\"); | ||
} | ||
function testNoTsIgnore(text) { | ||
- const tsIgnore = "ts-ignore"; | ||
- const pos = text.indexOf(tsIgnore); | ||
- return pos === -1 ? undefined : { pos, message: "'ts-ignore' is forbidden." }; | ||
+ // const tsIgnore = "ts-ignore"; | ||
+ // const pos = text.indexOf(tsIgnore); | ||
+ // return pos === -1 ? undefined : { pos, message: "'ts-ignore' is forbidden." }; | ||
} | ||
function testNoTslintDisables(text) { | ||
const tslintDisable = "tslint:disable"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters