#708 apply strictier linting rules (#717)

* #708 apply strictier linting rules and fix simple eslint bugs

* #708 fix eslint errors relate to promise

* #708 fix eslint import/no-extraneous-dependencies

* #708 fix eslint errors of react-hook

* #708 enable eslint check for typescript

---------

Co-authored-by: lethemanh <lethemanh@lethemanhs-MacBook-Pro.local>
This commit is contained in:
lethemanh
2026-04-01 22:15:10 +07:00
committed by GitHub
parent 2bff6aae78
commit cadfa70e60
321 changed files with 27452 additions and 27600 deletions
+18 -18
View File
@@ -1,18 +1,18 @@
var SSO_BASE_URL = "https://example.com";
var SSO_CLIENT_ID = "example";
var SSO_SCOPE = "openid profile email";
var SSO_REDIRECT_URI = "https://example.com/callback";
var SSO_RESPONSE_TYPE = "code";
var SSO_CODE_CHALLENGE_METHOD = "S256";
var SSO_POST_LOGOUT_REDIRECT = "http://example.com?logout=1";
var CALENDAR_BASE_URL = "https://calendar.example.com";
var DAV_BASE_URL = "https://dav.example.com";
var MAIL_SPA_URL = "https://mail.example.com";
var VIDEO_CONFERENCE_BASE_URL = "https://meet.linagora.com";
var SUPPORT_URL = "https://twake.app/support/";
var DEBUG = false;
var LANG = "en";
var WEBSOCKET_URL = "wss://calendar.example.com";
var WS_DEBOUNCE_PERIOD_MS = 100; // milliseconds, remove or set to 0 to disable debounce
var WS_PING_PERIOD_MS = 30000;
var WS_PING_TIMEOUT_PERIOD_MS = 35000;
var SSO_BASE_URL = 'https://example.com'
var SSO_CLIENT_ID = 'example'
var SSO_SCOPE = 'openid profile email'
var SSO_REDIRECT_URI = 'https://example.com/callback'
var SSO_RESPONSE_TYPE = 'code'
var SSO_CODE_CHALLENGE_METHOD = 'S256'
var SSO_POST_LOGOUT_REDIRECT = 'http://example.com?logout=1'
var CALENDAR_BASE_URL = 'https://calendar.example.com'
var DAV_BASE_URL = 'https://dav.example.com'
var MAIL_SPA_URL = 'https://mail.example.com'
var VIDEO_CONFERENCE_BASE_URL = 'https://meet.linagora.com'
var SUPPORT_URL = 'https://twake.app/support/'
var DEBUG = false
var LANG = 'en'
var WEBSOCKET_URL = 'wss://calendar.example.com'
var WS_DEBOUNCE_PERIOD_MS = 100 // milliseconds, remove or set to 0 to disable debounce
var WS_PING_PERIOD_MS = 30000
var WS_PING_TIMEOUT_PERIOD_MS = 35000
+11 -11
View File
@@ -1,17 +1,17 @@
var appList = [
{
name: "Chat",
link: "/twake",
icon: "/assets/images/svg/app-chat.svg",
name: 'Chat',
link: '/twake',
icon: '/assets/images/svg/app-chat.svg'
},
{
name: "Drive",
link: "/drive",
icon: "/assets/images/svg/app-drive.svg",
name: 'Drive',
link: '/drive',
icon: '/assets/images/svg/app-drive.svg'
},
{
name: "Mail",
link: "/mail",
icon: "/assets/images/svg/app-mail.svg",
},
];
name: 'Mail',
link: '/mail',
icon: '/assets/images/svg/app-mail.svg'
}
]
+6 -6
View File
@@ -1,22 +1,22 @@
@font-face {
font-family: "Inter";
src: url("InterVariable.ttf") format("truetype");
font-family: 'Inter';
src: url('InterVariable.ttf') format('truetype');
font-weight: 100 900;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Roboto";
src: url("Roboto-VariableFont_wdth,wght.ttf") format("truetype");
font-family: 'Roboto';
src: url('Roboto-VariableFont_wdth,wght.ttf') format('truetype');
font-weight: 100 900;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Cal Sans";
src: url("CalSans-SemiBold.woff2") format("woff2");
font-family: 'Cal Sans';
src: url('CalSans-SemiBold.woff2') format('woff2');
font-weight: 600;
font-style: normal;
font-display: swap;