From 91fab3aa048921899bea7430f5529065c377ab76 Mon Sep 17 00:00:00 2001 From: kj_sh604 Date: Sun, 15 Mar 2026 16:19:35 -0400 Subject: refactor: .eslintrc.json --- .eslintrc.json | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .eslintrc.json diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 0000000..095543a --- /dev/null +++ b/.eslintrc.json @@ -0,0 +1,22 @@ +{ + "extends": ["@excalidraw/eslint-config", "react-app"], + "rules": { + "import/no-anonymous-default-export": "off", + "no-restricted-globals": "off", + "@typescript-eslint/consistent-type-imports": [ + "error", + { + "prefer": "type-imports", + "disallowTypeAnnotations": false, + "fixStyle": "separate-type-imports" + } + ], + "no-restricted-imports": [ + "error", + { + "name": "jotai", + "message": "Do not import from \"jotai\" directly. Use our app-specific modules (\"editor-jotai\" or \"app-jotai\")." + } + ] + } +} -- cgit v1.2.3