Skip to content

🔧🎨 Add Biome linting and formatting#372

Merged
ebullient merged 1 commit intomainfrom
claude/great-dijkstra
Mar 29, 2026
Merged

🔧🎨 Add Biome linting and formatting#372
ebullient merged 1 commit intomainfrom
claude/great-dijkstra

Conversation

@ebullient
Copy link
Copy Markdown
Owner

Changes

  • Add Biome configuration (biome.json) for code linting and formatting
  • Add .editorconfig for consistent editor settings across the project
  • Update package.json with Biome dependencies
  • Reformat all TypeScript source files to comply with Biome standards
  • Apply consistent code style across:
    • Main module and settings
    • Modal and UI components
    • Language localization files
    • Utility functions and validators
    • Icon and callout managers
    • Type definitions

Details

This PR introduces Biome as the project's linter and code formatter, ensuring consistent code quality and style throughout the codebase. All existing code has been reformatted to match Biome's standards.

- Add biome.json and .editorconfig (matching obsidian-task-collector)
- Add lint/format/fix scripts and prebuild hook to package.json
- Fix all lint violations across src/: === vs ==, unused imports/params,
  parameter reassignment, optional chaining, template literals, etc.
- Convert AdmonitionValidator static-only class to namespace

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@ebullient ebullient merged commit 02657a9 into main Mar 29, 2026
1 check passed
@ebullient ebullient deleted the claude/great-dijkstra branch March 29, 2026 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant