mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
Re-enable formatting for .svelte files
This commit is contained in:
parent
e497a56f54
commit
ea5153e7a4
89 changed files with 103 additions and 112 deletions
|
@ -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",
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue