Re-enable formatting for .svelte files

This commit is contained in:
Damien Elmes 2022-11-28 09:17:39 +10:00
parent e497a56f54
commit ea5153e7a4
89 changed files with 103 additions and 112 deletions

View file

@ -18,7 +18,7 @@
"**/node_modules",
"out/**",
"**/*-lock.json",
"**/*.{ts,svelte}",
"**/*.{ts}",
"qt/aqt/data/web/js/vendor/*.js",
"ftl/qt-repo",
"ftl/core-repo",

View file

@ -10,7 +10,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
import Container from "../components/Container.svelte";
import Row from "../components/Row.svelte";
import StickyContainer from "../components/StickyContainer.svelte";
import type { ChangeNotetypeState} from "./lib";
import type { ChangeNotetypeState } from "./lib";
import { MapContext } from "./lib";
import Mapper from "./Mapper.svelte";
import NotetypeSelector from "./NotetypeSelector.svelte";

View file

@ -12,7 +12,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
import StickyContainer from "../components/StickyContainer.svelte";
import Alert from "./Alert.svelte";
import { exclamationIcon } from "./icons";
import type { ChangeNotetypeState} from "./lib";
import type { ChangeNotetypeState } from "./lib";
import { MapContext } from "./lib";
export let state: ChangeNotetypeState;

View file

@ -4,7 +4,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
-->
<script lang="ts">
import { on } from "@tslib/events";
import type { Callback} from "@tslib/typing";
import type { Callback } from "@tslib/typing";
import { singleCallback } from "@tslib/typing";
import { createEventDispatcher } from "svelte";
import { fly } from "svelte/transition";

View file

@ -4,7 +4,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
-->
<script lang="ts">
import { on } from "@tslib/events";
import type { Callback} from "@tslib/typing";
import type { Callback } from "@tslib/typing";
import { singleCallback } from "@tslib/typing";
import IconConstrain from "./IconConstrain.svelte";

View file

@ -17,11 +17,8 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
import type { SpecialKeyParams } from "../../sveltelib/input-handler";
import type { EditingInputAPI } from "../EditingArea.svelte";
import { context } from "../NoteEditor.svelte";
import type {
RichTextInputAPI} from "../rich-text-input/RichTextInput.svelte";
import {
editingInputIsRichText
} from "../rich-text-input/RichTextInput.svelte";
import type { RichTextInputAPI } from "../rich-text-input/RichTextInput.svelte";
import { editingInputIsRichText } from "../rich-text-input/RichTextInput.svelte";
import { findSymbols, getAutoInsertSymbol, getExactSymbol } from "./symbols-table";
import type {
SymbolsEntry as SymbolsEntryType,

View file

@ -9,7 +9,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
import AxisTicks from "./AxisTicks.svelte";
import CumulativeOverlay from "./CumulativeOverlay.svelte";
import Graph from "./Graph.svelte";
import type { RevlogRange,TableDatum } from "./graph-helpers";
import type { RevlogRange, TableDatum } from "./graph-helpers";
import { defaultGraphBounds, GraphRange } from "./graph-helpers";
import GraphRangeRadios from "./GraphRangeRadios.svelte";
import HoverColumns from "./HoverColumns.svelte";

View file

@ -4,14 +4,8 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
-->
<script lang="ts">
import * as tr from "@tslib/ftl";
import type {
Decks,
Generic,
Notetypes} from "@tslib/proto";
import {
ImportExport,
importExport
} from "@tslib/proto";
import type { Decks, Generic, Notetypes } from "@tslib/proto";
import { ImportExport, importExport } from "@tslib/proto";
import Col from "../components/Col.svelte";
import Container from "../components/Container.svelte";