diff --git a/app/test/unit/git/reset-test.ts b/app/test/unit/git/reset-test.ts index c6b12f2a477..de0b8ecb176 100644 --- a/app/test/unit/git/reset-test.ts +++ b/app/test/unit/git/reset-test.ts @@ -1,4 +1,4 @@ -/* tslint:disable:no-sync-functions */ +/* eslint-disable no-sync */ import * as path from 'path' import { expect } from 'chai' diff --git a/script/build.ts b/script/build.ts index 15738601bce..4cab1002bb3 100755 --- a/script/build.ts +++ b/script/build.ts @@ -1,4 +1,4 @@ -/* tslint:disable:no-sync-functions */ +/* eslint-disable no-sync */ import * as path from 'path' import * as cp from 'child_process' diff --git a/script/generate-octicons.ts b/script/generate-octicons.ts index 2397b0ad87c..bdad35dce4e 100644 --- a/script/generate-octicons.ts +++ b/script/generate-octicons.ts @@ -19,8 +19,7 @@ const filePath = path.resolve( 'sprite.octicons.svg' ) -/* tslint:disable:no-sync-functions */ -const file = fs.readFileSync(filePath, 'utf-8') +const file = fs.readFileSync(filePath, 'utf-8') // eslint-disable-line no-sync interface IXML2JSResult { svg: { symbol: ReadonlyArray } diff --git a/script/package.ts b/script/package.ts index 1b02d41d5ac..baf89215dcf 100644 --- a/script/package.ts +++ b/script/package.ts @@ -1,4 +1,4 @@ -/* tslint:disable:no-sync-functions */ +/* eslint-disable no-sync */ import * as fs from 'fs-extra' import * as cp from 'child_process' diff --git a/script/review-logs.ts b/script/review-logs.ts index 24639ce4987..b0018667cb9 100644 --- a/script/review-logs.ts +++ b/script/review-logs.ts @@ -1,4 +1,4 @@ -/* tslint:disable:no-sync-functions */ +/* eslint-disable no-sync */ import * as fs from 'fs' import * as path from 'path' diff --git a/script/test-review.ts b/script/test-review.ts index c66dbfb038f..ecc82d1427b 100644 --- a/script/test-review.ts +++ b/script/test-review.ts @@ -1,4 +1,4 @@ -/* tslint:disable:no-sync-functions */ +/* eslint-disable no-sync */ import * as fs from 'fs' import { getLogFiles } from './review-logs' diff --git a/script/test-setup.ts b/script/test-setup.ts index 3df59cc5b1a..c917c1d1620 100644 --- a/script/test-setup.ts +++ b/script/test-setup.ts @@ -1,4 +1,4 @@ -/* tslint:disable:no-sync-functions */ +/* eslint-disable no-sync */ import * as fs from 'fs' import * as cp from 'child_process'