ui: better disconnect notification

This commit is contained in:
undefined committed 2021-08-26 22:54:40 +08:00
1 parent 2fe5b8faee
commit 0301de94cf
5 files changed
+30 -29

No files matched your search

+2 -1
View File
@@ -58,6 +58,8 @@ module.exports = {
// Note: must disable the base rule as it can report incorrect errors
'no-use-before-define': 'off',
'@typescript-eslint/no-use-before-define': ['error'],
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': 'warn',
'comma-dangle': [
'error',
@@ -80,7 +82,6 @@ module.exports = {
'import/no-extraneous-dependencies': 'off',
'max-classes-per-file': 'off',
'no-empty': ['warn', { allowEmptyCatch: true }],
'no-unused-vars': 'warn',
'no-console': 'off',
'no-continue': 'off',
'no-mixed-operators': 'off',