biome.json 1013 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. {
  2. "$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
  3. "files": {
  4. "ignoreUnknown": true,
  5. "includes": [
  6. "**/*",
  7. "!**/.umi/**",
  8. "!**/.umi-production/**",
  9. "!**/.umi-test/**",
  10. "!**/.umi-test-production/**",
  11. "!**/src/services/**",
  12. "!**/mock/**",
  13. "!**/dist/**",
  14. "!**/server/**",
  15. "!**/public/**",
  16. "!**/coverage/**",
  17. "!**/node_modules/**",
  18. "!biome.json"
  19. ]
  20. },
  21. "formatter": {
  22. "enabled": true,
  23. "indentStyle": "space"
  24. },
  25. "linter": {
  26. "enabled": true,
  27. "rules": {
  28. "recommended": true,
  29. "suspicious": {
  30. "noExplicitAny": "off"
  31. },
  32. "correctness": {
  33. "useExhaustiveDependencies": "off"
  34. },
  35. "a11y": {
  36. "noStaticElementInteractions": "off",
  37. "useValidAnchor": "off",
  38. "useKeyWithClickEvents": "off"
  39. }
  40. }
  41. },
  42. "javascript": {
  43. "jsxRuntime": "reactClassic",
  44. "formatter": {
  45. "quoteStyle": "single"
  46. }
  47. }
  48. }