diff options
| -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\")." + } + ] + } +} |
