mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 02:53:08 +02:00
enhance(dev): 関数呼び出しの前にスペースを入れることを許可しない
This commit is contained in:
parent
44985ae858
commit
5c48878dc5
2 changed files with 2 additions and 1 deletions
|
@ -58,7 +58,7 @@ let queue = $ref(0);
|
||||||
let srcWhenNotSignin = $ref(isLocalTimelineAvailable ? 'local' : 'global');
|
let srcWhenNotSignin = $ref(isLocalTimelineAvailable ? 'local' : 'global');
|
||||||
const src = $computed({ get: () => ($i ? defaultStore.reactiveState.tl.value.src : srcWhenNotSignin), set: (x) => saveSrc(x) });
|
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 {
|
function queueUpdated(q: number): void {
|
||||||
queue = q;
|
queue = q;
|
||||||
|
|
|
@ -64,6 +64,7 @@ module.exports = {
|
||||||
'object-curly-spacing': ['error', 'always'],
|
'object-curly-spacing': ['error', 'always'],
|
||||||
'space-infix-ops': ['error'],
|
'space-infix-ops': ['error'],
|
||||||
'space-before-blocks': ['error', 'always'],
|
'space-before-blocks': ['error', 'always'],
|
||||||
|
'func-call-spacing': ['error', 'never'],
|
||||||
'@typescript-eslint/no-explicit-any': ['warn'],
|
'@typescript-eslint/no-explicit-any': ['warn'],
|
||||||
'@typescript-eslint/no-unused-vars': ['warn'],
|
'@typescript-eslint/no-unused-vars': ['warn'],
|
||||||
'@typescript-eslint/no-unnecessary-condition': ['warn'],
|
'@typescript-eslint/no-unnecessary-condition': ['warn'],
|
||||||
|
|
Loading…
Reference in a new issue