@typescript-eslint/interface-name-prefix

This commit is contained in:
Alexander T
2019-06-20 10:12:18 +03:00
parent 33eeceec9e
commit 882dfd265c
4 changed files with 12 additions and 5 deletions
+1 -1
View File
@@ -439,7 +439,7 @@ namespace Utils {
}
namespace Harness {
// tslint:disable-next-line:interface-name
// eslint-disable-next-line @typescript-eslint/interface-name-prefix
export interface IO {
newLine(): string;
getCurrentDirectory(): string;
+2 -1
View File
@@ -4,7 +4,8 @@ namespace ts.server {
projectRootPath: Path;
}
// tslint:disable-next-line interface-name (for backwards-compatibility)
// for backwards-compatibility
// eslint-disable-next-line @typescript-eslint/interface-name-prefix
export interface ITypingsInstaller {
isKnownTypesPackageName(name: string): boolean;
installPackage(options: InstallPackageOptionsWithProject): Promise<ApplyCodeActionCommandResult>;
+1 -1
View File
@@ -102,7 +102,7 @@ namespace ts {
* snapshot is observably immutable. i.e. the same calls with the same parameters will return
* the same values.
*/
// tslint:disable-next-line interface-name
// eslint-disable-next-line @typescript-eslint/interface-name-prefix
export interface IScriptSnapshot {
/** Gets a portion of the script snapshot specified by [start, end). */
getText(start: number, end: number): string;