biome.json 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. {
  2. "$schema": "https://biomejs.dev/schemas/2.1.4/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. "!**/*.bats",
  14. "!**/*.min.css",
  15. "!**/*.min.js",
  16. "!**/vendor/**",
  17. "!**/node_modules/**",
  18. "!**/test-results/**",
  19. "!**/.vitepress/cache/**",
  20. "!**/test/test_helper/**"
  21. ]
  22. },
  23. "formatter": {
  24. "enabled": false,
  25. "useEditorconfig": true
  26. },
  27. "linter": {
  28. "enabled": true,
  29. "rules": {
  30. "recommended": true,
  31. "style": {
  32. "noDescendingSpecificity": "off"
  33. },
  34. "correctness": {
  35. "noUnknownMediaFeatureName": "off",
  36. "noUnusedVariables": "off",
  37. "noUnusedImports": "off"
  38. },
  39. "suspicious": {
  40. "noEmptyBlock": "off",
  41. "noShorthandPropertyOverrides": "off",
  42. "noDuplicateProperties": "off",
  43. "noDoubleEquals": "off"
  44. }
  45. }
  46. },
  47. "javascript": {
  48. "formatter": {
  49. "quoteStyle": "single",
  50. "semicolons": "asNeeded"
  51. }
  52. },
  53. "assist": {
  54. "enabled": true,
  55. "actions": {
  56. "source": {
  57. "organizeImports": "on"
  58. }
  59. }
  60. }
  61. }