biome.json 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. {
  2. "$schema": "https://biomejs.dev/schemas/2.3.13/schema.json",
  3. "vcs": {
  4. "enabled": false,
  5. "clientKind": "git",
  6. "useIgnoreFile": false
  7. },
  8. "files": {
  9. "ignoreUnknown": false,
  10. "includes": [
  11. "**",
  12. "!**/dist",
  13. "!**/vendor",
  14. "!**/node_modules",
  15. "!**/test-results",
  16. "!**/.vitepress/cache",
  17. "!**/test/test_helper",
  18. "!**/email/examples/*.html",
  19. "!**/*.bats",
  20. "!**/*.min.css",
  21. "!**/*.min.js"
  22. ]
  23. },
  24. "formatter": {
  25. "enabled": false,
  26. "useEditorconfig": true
  27. },
  28. "linter": {
  29. "enabled": true,
  30. "rules": {
  31. "recommended": true,
  32. "style": {
  33. "noDescendingSpecificity": "off"
  34. },
  35. "correctness": {
  36. "noUnknownMediaFeatureName": "off",
  37. "noUnusedVariables": "off",
  38. "noUnusedImports": "off"
  39. },
  40. "suspicious": {
  41. "noEmptyBlock": "off",
  42. "noShorthandPropertyOverrides": "off",
  43. "noDuplicateProperties": "off",
  44. "noDoubleEquals": "off",
  45. "noUnknownAtRules": "off"
  46. },
  47. "complexity": {
  48. "noImportantStyles": "off"
  49. }
  50. }
  51. },
  52. "javascript": {
  53. "formatter": {
  54. "quoteStyle": "single",
  55. "semicolons": "asNeeded"
  56. }
  57. },
  58. "assist": {
  59. "enabled": true,
  60. "actions": {
  61. "source": {
  62. "organizeImports": "on"
  63. }
  64. }
  65. }
  66. }