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:
@@ -3,6 +3,7 @@
|
||||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
|
||||
// eslint-disable-next-line import/no-default-export
|
||||
export default function(reaction: string): string {
|
||||
switch (reaction) {
|
||||
case 'like': return '👍';
|
||||
|
Reference in New Issue
Block a user