diff options
| author | kj_sh604 | 2026-03-15 16:19:35 -0400 |
|---|---|---|
| committer | kj_sh604 | 2026-03-15 16:19:35 -0400 |
| commit | 91fab3aa048921899bea7430f5529065c377ab76 (patch) | |
| tree | 1c9b09ce79a59d120d43ebed6d91508e770b031b | |
| parent | 35ab0a273d0cafda65e76ad98ae8b840ee86c806 (diff) | |
refactor: .eslintrc.json
| -rw-r--r-- | .eslintrc.json | 22 |
1 files changed, 22 insertions, 0 deletions
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\")." + } + ] + } +} |
