mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: update eslint config
This commit is contained in:
@ -13,7 +13,7 @@
|
|||||||
"sourceType": "module"
|
"sourceType": "module"
|
||||||
},
|
},
|
||||||
"plugins": ["react", "@typescript-eslint", "prettier"],
|
"plugins": ["react", "@typescript-eslint", "prettier"],
|
||||||
"ignorePatterns": ["node_modules", "dist", "public", "src/wasm"],
|
"ignorePatterns": ["node_modules", "dist", "public", "src/assets"],
|
||||||
"rules": {
|
"rules": {
|
||||||
"prettier/prettier": [
|
"prettier/prettier": [
|
||||||
"error",
|
"error",
|
||||||
|
@ -3,6 +3,8 @@ import { createRoot } from "react-dom/client";
|
|||||||
import { Toaster } from "react-hot-toast";
|
import { Toaster } from "react-hot-toast";
|
||||||
import { Provider } from "react-redux";
|
import { Provider } from "react-redux";
|
||||||
import { RouterProvider } from "react-router-dom";
|
import { RouterProvider } from "react-router-dom";
|
||||||
|
import gomarkWasm from "./assets/gomark.wasm?url";
|
||||||
|
import "./assets/wasm_exec.js";
|
||||||
import "./css/global.css";
|
import "./css/global.css";
|
||||||
import "./css/tailwind.css";
|
import "./css/tailwind.css";
|
||||||
import "./helpers/polyfill";
|
import "./helpers/polyfill";
|
||||||
@ -11,8 +13,6 @@ import "./less/highlight.less";
|
|||||||
import router from "./router";
|
import router from "./router";
|
||||||
import store from "./store";
|
import store from "./store";
|
||||||
import theme from "./theme";
|
import theme from "./theme";
|
||||||
import gomarkWasm from "./assets/gomark.wasm?url";
|
|
||||||
import "./assets/wasm_exec.js";
|
|
||||||
|
|
||||||
(async () => {
|
(async () => {
|
||||||
const go = new window.Go();
|
const go = new window.Go();
|
||||||
|
Reference in New Issue
Block a user