Skip to content

Commit c7efdc9

Browse files
committed
refactor: apply eslint rules
1 parent d6737ba commit c7efdc9

File tree

4 files changed

+23
-23
lines changed

4 files changed

+23
-23
lines changed

src/api/Env.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ type HttpsUrl = `https://${ string }`
2626
Repository Strings
2727
*/
2828

29-
interface Repo {
29+
interface Repo
30+
{
3031
urlDocs?: HttpsUrl
3132
urlRepo?: HttpsUrl
3233
urlWiki?: HttpsUrl
@@ -41,7 +42,8 @@ interface Repo {
4142
Api Strings
4243
*/
4344

44-
interface Api {
45+
interface Api
46+
{
4547
github?: HttpsUrl
4648
}
4749

src/backend/Backend.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,8 @@ const sender = PID( )
2323

2424
export interface ItemJSON
2525
{
26-
embed:
27-
Record<string, string>,
28-
files:
29-
Record<string, string>,
26+
embed: Record<string, string>,
27+
files: Record<string, string>,
3028
description: string,
3129
created_at: string,
3230
id: string,
@@ -42,7 +40,7 @@ export interface ItemJSON
4240
Interface > User Style Properties
4341
*/
4442

45-
type StyleProperties = Record<string, string>;
43+
type StyleProperties = Record<string, string>
4644

4745
/*
4846
Is Empty

src/backend/services/Github.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import moment from 'moment'
1919
enum Status
2020
{
2121
success = 'succeeded',
22-
fail = 'failed',
22+
fail = 'failed'
2323
}
2424

2525
/*

src/settings/sections/SettingsSection.ts

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -24,21 +24,21 @@ import gt from 'semver/functions/gt'
2424

2525
export interface ColorPickrOpts
2626
{
27-
'sy_clr_lst_icon'?: string
28-
29-
'og_clr_bg_light'?: string
30-
'og_clr_bg_dark'?: string
31-
'og_clr_sb_light'?: string
32-
'og_clr_sb_dark'?: string
33-
'og_clr_tx_light'?: string
34-
'og_clr_tx_dark'?: string
35-
36-
'gh_clr_bg_light'?: string
37-
'gh_clr_bg_dark'?: string
38-
'gh_clr_sb_light'?: string
39-
'gh_clr_sb_dark'?: string
40-
'gh_clr_tx_light'?: string
41-
'gh_clr_tx_dark'?: string
27+
sy_clr_lst_icon?: string
28+
29+
og_clr_bg_light?: string
30+
og_clr_bg_dark?: string
31+
og_clr_sb_light?: string
32+
og_clr_sb_dark?: string
33+
og_clr_tx_light?: string
34+
og_clr_tx_dark?: string
35+
36+
gh_clr_bg_light?: string
37+
gh_clr_bg_dark?: string
38+
gh_clr_sb_light?: string
39+
gh_clr_sb_dark?: string
40+
gh_clr_tx_light?: string
41+
gh_clr_tx_dark?: string
4242
}
4343

4444
/*

0 commit comments

Comments
 (0)