ui: change to ts & tsx

This commit is contained in:
undefined committed 2021-10-11 23:33:54 +08:00
1 parent 36cce6d1bd
commit d10fec361c
29 files changed
+165 -221

No files matched your search

+11 -3
View File
@@ -62,6 +62,16 @@ module.exports = {
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': 'warn',
'@typescript-eslint/lines-between-class-members': [
'error',
'always',
{ exceptAfterSingleLine: true },
],
'lines-between-class-members': [
'error',
'always',
{ exceptAfterSingleLine: true },
],
'comma-dangle': [
'error',
'always-multiline',
@@ -69,9 +79,7 @@ module.exports = {
indent: [
'error',
2,
{
SwitchCase: 0,
},
{ SwitchCase: 0 },
],
'max-len': ['error', 150],
quotes: 'warn',