Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

chore: update eslint config

Stevenbe899cd027ec
diff --git a/web/.eslintrc.json b/web/.eslintrc.json
index 01ef673ae..1e30948d7 100644
--- a/web/.eslintrc.json
+++ b/web/.eslintrc.json
@@ -13,7 +13,7 @@
"sourceType": "module"
},
"plugins": ["react", "@typescript-eslint", "prettier"],
- "ignorePatterns": ["node_modules", "dist", "public", "src/wasm"],
+ "ignorePatterns": ["node_modules", "dist", "public", "src/assets"],
"rules": {
"prettier/prettier": [
"error",
diff --git a/web/src/main.tsx b/web/src/main.tsx
index abad1e073..6cdab151f 100644
--- a/web/src/main.tsx
+++ b/web/src/main.tsx
@@ -3,6 +3,8 @@ import { createRoot } from "react-dom/client";
import { Toaster } from "react-hot-toast";
import { Provider } from "react-redux";
import { RouterProvider } from "react-router-dom";
+import gomarkWasm from "./assets/gomark.wasm?url";
+import "./assets/wasm_exec.js";
import "./css/global.css";
import "./css/tailwind.css";
import "./helpers/polyfill";
@@ -11,8 +13,6 @@ import "./less/highlight.less";
import router from "./router";
import store from "./store";
import theme from "./theme";
-import gomarkWasm from "./assets/gomark.wasm?url";
-import "./assets/wasm_exec.js";
(async () => {
const go = new window.Go();