fix some linting in frontends
This commit is contained in:
parent
2ecaa57cd5
commit
3cec5f927e
5 changed files with 7 additions and 7 deletions
|
@ -20,9 +20,9 @@ testCommit:
|
||||||
- pnpm install --frozen-lockfile
|
- pnpm install --frozen-lockfile
|
||||||
- pnpm run build
|
- pnpm run build
|
||||||
- pnpm run migrate
|
- pnpm run migrate
|
||||||
- pnpm run --filter='!megalodon' --workspace-concurrency=1 test
|
- pnpm run --filter='!megalodon' test
|
||||||
- pnpm run --filter=backend lint
|
- pnpm run --filter=backend --filter=misskey-js lint
|
||||||
- pnpm run --filter=frontend eslint
|
- pnpm run --filter=frontend --filter=frontend-embed eslint
|
||||||
cache:
|
cache:
|
||||||
key: test
|
key: test
|
||||||
policy: pull-push
|
policy: pull-push
|
||||||
|
|
|
@ -360,7 +360,7 @@ export default function (props: MfmProps, { emit }: { emit: SetupContext<MfmEven
|
||||||
case 'center': {
|
case 'center': {
|
||||||
return [h('div', {
|
return [h('div', {
|
||||||
style: 'text-align:center;',
|
style: 'text-align:center;',
|
||||||
}, h('bdi',genEl(token.children, scale)))];
|
}, h('bdi', genEl(token.children, scale)))];
|
||||||
}
|
}
|
||||||
|
|
||||||
case 'url': {
|
case 'url': {
|
||||||
|
|
|
@ -17,7 +17,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<br />
|
<br />
|
||||||
<I18n :src="i18n.ts.i18nInfoSharkey" tag="span">
|
<I18n :src="i18n.ts.i18nInfoSharkey" tag="span">
|
||||||
<template #link>
|
<template #link>
|
||||||
<!-- TODO: ADD LINK TO OUR I18N SERVICE -->
|
<!-- TODO: ADD LINK TO OUR I18N SERVICE -->
|
||||||
<MkLink url="https://crowdin.com/project/misskey">INSERT THINGY</MkLink>
|
<MkLink url="https://crowdin.com/project/misskey">INSERT THINGY</MkLink>
|
||||||
</template>
|
</template>
|
||||||
</I18n>
|
</I18n>
|
||||||
|
|
|
@ -168,7 +168,7 @@ const exportData = () => {
|
||||||
};
|
};
|
||||||
|
|
||||||
watch([
|
watch([
|
||||||
enableCondensedLineForAcct,
|
enableCondensedLine,
|
||||||
], async () => {
|
], async () => {
|
||||||
await reloadAsk();
|
await reloadAsk();
|
||||||
});
|
});
|
||||||
|
|
|
@ -124,7 +124,7 @@ export function openInstanceMenu(ev: MouseEvent) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
if(instance.donationUrl) {
|
if (instance.donationUrl) {
|
||||||
menuItems.push({
|
menuItems.push({
|
||||||
type: 'a',
|
type: 'a',
|
||||||
text: i18n.ts.donation,
|
text: i18n.ts.donation,
|
||||||
|
|
Loading…
Reference in a new issue