biome.json 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. {
  2. "$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
  3. "vcs": {
  4. "enabled": false,
  5. "clientKind": "git",
  6. "useIgnoreFile": false
  7. },
  8. "files": {
  9. "ignoreUnknown": false,
  10. "ignore": [
  11. "**/*.bats",
  12. "./test/test_helper/*",
  13. "**/*.min.css",
  14. "**/*.min.js",
  15. "**/vendor/**",
  16. "**/node_modules/**",
  17. "**/.vitepress/dist/",
  18. "**/.vitepress/cache/",
  19. "./docs/.vitepress/dist/",
  20. "./docs/.vitepress/cache/"
  21. ]
  22. },
  23. "formatter": {
  24. "enabled": false,
  25. "useEditorconfig": true
  26. },
  27. "organizeImports": {
  28. "enabled": true
  29. },
  30. "linter": {
  31. "enabled": true,
  32. "rules": {
  33. "recommended": true,
  34. "a11y": {
  35. "useGenericFontNames": "off"
  36. },
  37. "style": {
  38. "noParameterAssign": "off"
  39. },
  40. "complexity": {
  41. "noForEach": "off"
  42. },
  43. "correctness": {
  44. "noUnknownMediaFeatureName": "off"
  45. },
  46. "suspicious": {
  47. "noEmptyBlock": "off",
  48. "noShorthandPropertyOverrides": "off",
  49. "noDoubleEquals": "off"
  50. }
  51. }
  52. },
  53. "javascript": {
  54. "formatter": {
  55. "quoteStyle": "single"
  56. },
  57. "globals": ["Alpine"]
  58. }
  59. }