mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-26 07:38:33 -06:00
fixing lint config
This commit is contained in:
@@ -17,6 +17,7 @@ export const getGlobalSettings = async (): Promise<GlobalSettings> => {
|
||||
try {
|
||||
await fs.access(SETTINGS_FILE_PATH);
|
||||
} catch (err) {
|
||||
console.log(err);
|
||||
throw new Error(
|
||||
`Global Settings file does not exist at path: ${SETTINGS_FILE_PATH}`
|
||||
);
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { promises as fs } from "fs";
|
||||
import path from "path";
|
||||
import { lectureFolderName } from "./utils/lectureUtils";
|
||||
import { getCoursePathByName } from "./globalSettingsFileStorageService";
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { promises as fs } from "fs";
|
||||
import path from "path";
|
||||
import { getGlobalSettings } from "../globalSettingsFileStorageService";
|
||||
|
||||
export const directoryOrFileExists = async (
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
"use client";
|
||||
import { marked, MarkedExtension } from "marked";
|
||||
import { marked } from "marked";
|
||||
import DOMPurify from "isomorphic-dompurify";
|
||||
import { LocalCourseSettings } from "@/models/local/localCourseSettings";
|
||||
import markedKatex from "marked-katex-extension";
|
||||
|
||||
@@ -17,9 +17,6 @@ import {
|
||||
getGlobalSettings,
|
||||
updateGlobalSettings,
|
||||
} from "@/services/fileStorage/globalSettingsFileStorageService";
|
||||
import { promises as fs } from "fs";
|
||||
import { basePath } from "@/services/fileStorage/utils/fileSystemUtils";
|
||||
import path from "path";
|
||||
|
||||
export const settingsRouter = router({
|
||||
allCoursesSettings: publicProcedure.query(async () => {
|
||||
|
||||
Reference in New Issue
Block a user