chore(backend): Resolve import/no-default-export rule violations (#11732)
* Disable `import/no-default-export` properly * Disable `import/no-default-export`
This commit is contained in:
parent
792622aead
commit
dd1783f984
359 changed files with 359 additions and 701 deletions
|
|
@ -5,6 +5,7 @@
|
|||
|
||||
import type { MiNote } from '@/models/entities/Note.js';
|
||||
|
||||
// eslint-disable-next-line import/no-default-export
|
||||
export default function(note: MiNote): boolean {
|
||||
return note.renoteId != null && (note.text != null || note.hasPoll || (note.fileIds != null && note.fileIds.length > 0));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue