mirror of
https://github.com/wassname/talk.git
synced 2026-08-13 12:40:11 +08:00
replaced eslint:recommended with prettier
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import translations from './translations.yml';
|
||||
import {createSortOption} from 'plugin-api/beta/client/factories';
|
||||
import {t} from 'plugin-api/beta/client/services';
|
||||
import { createSortOption } from 'plugin-api/beta/client/factories';
|
||||
import { t } from 'plugin-api/beta/client/services';
|
||||
|
||||
const SortOption = createSortOption(
|
||||
() => t('talk-plugin-sort-oldest.label'),
|
||||
{sortBy: 'CREATED_AT', sortOrder: 'ASC'},
|
||||
);
|
||||
const SortOption = createSortOption(() => t('talk-plugin-sort-oldest.label'), {
|
||||
sortBy: 'CREATED_AT',
|
||||
sortOrder: 'ASC',
|
||||
});
|
||||
|
||||
/**
|
||||
* This plugin depends on talk-plugin-viewing-options.
|
||||
@@ -14,6 +14,6 @@ const SortOption = createSortOption(
|
||||
export default {
|
||||
translations,
|
||||
slots: {
|
||||
viewingOptionsSort: [SortOption]
|
||||
}
|
||||
viewingOptionsSort: [SortOption],
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user