1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-11-27 14:28:49 +09:00

enhance(dev): 関数呼び出しの前にスペースを入れることを許可しない

This commit is contained in:
syuilo 2023-09-19 09:36:07 +09:00
parent 44985ae858
commit 5c48878dc5
2 changed files with 2 additions and 1 deletions

View File

@ -58,7 +58,7 @@ let queue = $ref(0);
let srcWhenNotSignin = $ref(isLocalTimelineAvailable ? 'local' : 'global');
const src = $computed({ get: () => ($i ? defaultStore.reactiveState.tl.value.src : srcWhenNotSignin), set: (x) => saveSrc(x) });
watch ($$(src), () => queue = 0);
watch($$(src), () => queue = 0);
function queueUpdated(q: number): void {
queue = q;

View File

@ -64,6 +64,7 @@ module.exports = {
'object-curly-spacing': ['error', 'always'],
'space-infix-ops': ['error'],
'space-before-blocks': ['error', 'always'],
'func-call-spacing': ['error', 'never'],
'@typescript-eslint/no-explicit-any': ['warn'],
'@typescript-eslint/no-unused-vars': ['warn'],
'@typescript-eslint/no-unnecessary-condition': ['warn'],