.eslintrc.json 592 B

12345678910111213141516171819202122
  1. {
  2. "extends": ["@excalidraw/eslint-config", "react-app"],
  3. "rules": {
  4. "import/no-anonymous-default-export": "off",
  5. "no-restricted-globals": "off",
  6. "@typescript-eslint/consistent-type-imports": [
  7. "error",
  8. {
  9. "prefer": "type-imports",
  10. "disallowTypeAnnotations": false,
  11. "fixStyle": "separate-type-imports"
  12. }
  13. ],
  14. "no-restricted-imports": [
  15. "error",
  16. {
  17. "name": "jotai",
  18. "message": "Do not import from \"jotai\" directly. Use our app-specific modules (\"editor-jotai\" or \"app-jotai\")."
  19. }
  20. ]
  21. }
  22. }