mirror of
https://codeberg.org/pronounscc/pronouns.cc.git
synced 2024-11-20 10:29:52 +01:00
chore: format
This commit is contained in:
parent
4f62d8d589
commit
364c008554
7 changed files with 2049 additions and 92 deletions
|
@ -65,6 +65,9 @@ func (s *Server) noAppFediverseURL(ctx context.Context, w http.ResponseWriter, r
|
|||
}
|
||||
|
||||
switch softwareName {
|
||||
case "iceshrimp":
|
||||
softwareName = "firefish"
|
||||
fallthrough
|
||||
case "misskey", "foundkey", "calckey", "firefish":
|
||||
return s.noAppMisskeyURL(ctx, w, r, softwareName, instance)
|
||||
case "mastodon", "pleroma", "akkoma", "pixelfed", "gotosocial":
|
||||
|
|
|
@ -1,20 +1,20 @@
|
|||
module.exports = {
|
||||
root: true,
|
||||
parser: '@typescript-eslint/parser',
|
||||
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'prettier'],
|
||||
plugins: ['svelte3', '@typescript-eslint'],
|
||||
ignorePatterns: ['*.cjs'],
|
||||
overrides: [{ files: ['*.svelte'], processor: 'svelte3/svelte3' }],
|
||||
parser: "@typescript-eslint/parser",
|
||||
extends: ["eslint:recommended", "plugin:@typescript-eslint/recommended", "prettier"],
|
||||
plugins: ["svelte3", "@typescript-eslint"],
|
||||
ignorePatterns: ["*.cjs"],
|
||||
overrides: [{ files: ["*.svelte"], processor: "svelte3/svelte3" }],
|
||||
settings: {
|
||||
'svelte3/typescript': () => require('typescript')
|
||||
"svelte3/typescript": () => require("typescript"),
|
||||
},
|
||||
parserOptions: {
|
||||
sourceType: 'module',
|
||||
ecmaVersion: 2020
|
||||
sourceType: "module",
|
||||
ecmaVersion: 2020,
|
||||
},
|
||||
env: {
|
||||
browser: true,
|
||||
es2017: true,
|
||||
node: true
|
||||
}
|
||||
node: true,
|
||||
},
|
||||
};
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -36,7 +36,7 @@
|
|||
</script>
|
||||
|
||||
<div class="p-3">
|
||||
<h5>{field.name ? field.name : "New Field"}</h5>
|
||||
<h5>{field.name ? field.name : "New field"}</h5>
|
||||
<InputGroup class="m-1">
|
||||
<IconButton
|
||||
color="secondary"
|
||||
|
@ -50,7 +50,7 @@
|
|||
tooltip="Move field right"
|
||||
click={() => moveField(false)}
|
||||
/>
|
||||
<Input placeholder="New Field" bind:value={field.name} />
|
||||
<Input placeholder="New field" bind:value={field.name} />
|
||||
<Button color="danger" on:click={() => deleteField()}>Delete field</Button>
|
||||
</InputGroup>
|
||||
<hr />
|
||||
|
|
Loading…
Reference in a new issue