mirror of
https://github.com/Eugeny/tabby
synced 2024-12-13 14:52:45 +00:00
lint typescript-eslint/prefer-enum-initializers
This commit is contained in:
parent
aacc603309
commit
e98c12d409
4 changed files with 7 additions and 4 deletions
|
@ -114,7 +114,6 @@ rules:
|
|||
'@typescript-eslint/non-nullable-type-assertion-style': off
|
||||
'@typescript-eslint/dot-notation': off
|
||||
'@typescript-eslint/no-confusing-void-expression': off
|
||||
'@typescript-eslint/prefer-enum-initializers': off
|
||||
'@typescript-eslint/no-implicit-any-catch': off
|
||||
'@typescript-eslint/member-ordering': off
|
||||
'@typescript-eslint/no-var-requires': off
|
||||
|
|
|
@ -8,7 +8,9 @@ import { Logger, LogService } from './log.service'
|
|||
import { isWindowsBuild, WIN_BUILD_FLUENT_BG_MOVE_BUG_FIXED, WIN_BUILD_FLUENT_BG_SUPPORTED } from '../utils'
|
||||
|
||||
export enum Platform {
|
||||
Linux, macOS, Windows,
|
||||
Linux = 'Linux',
|
||||
macOS = 'macOS',
|
||||
Windows = 'Windows',
|
||||
}
|
||||
|
||||
export interface Bounds {
|
||||
|
|
|
@ -7,7 +7,7 @@ import { Component, Input } from '@angular/core'
|
|||
import { ConfigService, ElectronService } from 'terminus-core'
|
||||
import { PluginInfo, PluginManagerService } from '../services/pluginManager.service'
|
||||
|
||||
enum BusyState { Installing, Uninstalling }
|
||||
enum BusyState { Installing = 'Installing', Uninstalling = 'Uninstalling' }
|
||||
|
||||
/** @hidden */
|
||||
@Component({
|
||||
|
|
|
@ -45,7 +45,9 @@ export interface SSHConnection {
|
|||
}
|
||||
|
||||
export enum PortForwardType {
|
||||
Local, Remote, Dynamic,
|
||||
Local = 'Local',
|
||||
Remote = 'Remote',
|
||||
Dynamic = 'Dynamic',
|
||||
}
|
||||
|
||||
export class ForwardedPort {
|
||||
|
|
Loading…
Reference in a new issue