Skip to content

feature/obsidian-colored lints#2931

Merged
elijah-potter merged 9 commits intoAutomattic:masterfrom
stanley-910:feature/colored-lints
Mar 16, 2026
Merged

feature/obsidian-colored lints#2931
elijah-potter merged 9 commits intoAutomattic:masterfrom
stanley-910:feature/colored-lints

Conversation

@stanley-910
Copy link
Contributor

Issues

N/A

Description

Ports Harper's lint-kind colors from the web app into the Obsidian plugin so diagnostics are no longer all rendered as red squiggles. This keeps the existing Obsidian lint flow intact and adds a minimal lint_kind -> CSS class -> color mapping for ranges, markers, and tooltip accents.

Demo

Screen.Recording.2026-03-14.at.7.24.26.PM.mov

How Has This Been Tested?

  • Ran npm test in packages/obsidian-plugin
  • Ran npm run build in packages/obsidian-plugin
  • Added tests for the lint kind color mapping

Checklist

  • I have performed a self-review of my own code
  • I have added tests to cover my changes

@hippietrail hippietrail added obsidian-plugin Related to the Harper Obsidian integration linting labels Mar 15, 2026
Copy link
Collaborator

@elijah-potter elijah-potter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good, and it behaves as I expect. Nice! Thank you.

@elijah-potter elijah-potter added this pull request to the merge queue Mar 16, 2026
Merged via the queue into Automattic:master with commit 1def99c Mar 16, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

linting obsidian-plugin Related to the Harper Obsidian integration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants