mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-10 14:30:03 +00:00
lint typescript-eslint/prefer-enum-initializers
This commit is contained in:
parent
aacc603309
commit
e98c12d409
@ -114,7 +114,6 @@ rules:
|
|||||||
'@typescript-eslint/non-nullable-type-assertion-style': off
|
'@typescript-eslint/non-nullable-type-assertion-style': off
|
||||||
'@typescript-eslint/dot-notation': off
|
'@typescript-eslint/dot-notation': off
|
||||||
'@typescript-eslint/no-confusing-void-expression': off
|
'@typescript-eslint/no-confusing-void-expression': off
|
||||||
'@typescript-eslint/prefer-enum-initializers': off
|
|
||||||
'@typescript-eslint/no-implicit-any-catch': off
|
'@typescript-eslint/no-implicit-any-catch': off
|
||||||
'@typescript-eslint/member-ordering': off
|
'@typescript-eslint/member-ordering': off
|
||||||
'@typescript-eslint/no-var-requires': 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'
|
import { isWindowsBuild, WIN_BUILD_FLUENT_BG_MOVE_BUG_FIXED, WIN_BUILD_FLUENT_BG_SUPPORTED } from '../utils'
|
||||||
|
|
||||||
export enum Platform {
|
export enum Platform {
|
||||||
Linux, macOS, Windows,
|
Linux = 'Linux',
|
||||||
|
macOS = 'macOS',
|
||||||
|
Windows = 'Windows',
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface Bounds {
|
export interface Bounds {
|
||||||
|
@ -7,7 +7,7 @@ import { Component, Input } from '@angular/core'
|
|||||||
import { ConfigService, ElectronService } from 'terminus-core'
|
import { ConfigService, ElectronService } from 'terminus-core'
|
||||||
import { PluginInfo, PluginManagerService } from '../services/pluginManager.service'
|
import { PluginInfo, PluginManagerService } from '../services/pluginManager.service'
|
||||||
|
|
||||||
enum BusyState { Installing, Uninstalling }
|
enum BusyState { Installing = 'Installing', Uninstalling = 'Uninstalling' }
|
||||||
|
|
||||||
/** @hidden */
|
/** @hidden */
|
||||||
@Component({
|
@Component({
|
||||||
|
@ -45,7 +45,9 @@ export interface SSHConnection {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export enum PortForwardType {
|
export enum PortForwardType {
|
||||||
Local, Remote, Dynamic,
|
Local = 'Local',
|
||||||
|
Remote = 'Remote',
|
||||||
|
Dynamic = 'Dynamic',
|
||||||
}
|
}
|
||||||
|
|
||||||
export class ForwardedPort {
|
export class ForwardedPort {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user