mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-06-17 00:34:47 -05:00
Replace eslint rulesdir with eslint-plugin-local, convert eslint rules to JS (#50380)
This commit is contained in:
@@ -69,7 +69,7 @@ namespace ts {
|
||||
return sourceIndex;
|
||||
}
|
||||
|
||||
/* eslint-disable boolean-trivia, no-null/no-null */
|
||||
/* eslint-disable local/boolean-trivia, no-null/no-null */
|
||||
function setSourceContent(sourceIndex: number, content: string | null) {
|
||||
enter();
|
||||
if (content !== null) {
|
||||
@@ -81,7 +81,7 @@ namespace ts {
|
||||
}
|
||||
exit();
|
||||
}
|
||||
/* eslint-enable boolean-trivia, no-null/no-null */
|
||||
/* eslint-enable local/boolean-trivia, no-null/no-null */
|
||||
|
||||
function addName(name: string) {
|
||||
enter();
|
||||
|
||||
Reference in New Issue
Block a user