Skip to content

Move editor libs to library; detect NetTopologySuite#6

Merged
nielsbosma merged 1 commit into
mainfrom
fix/library-styling
Jun 23, 2026
Merged

Move editor libs to library; detect NetTopologySuite#6
nielsbosma merged 1 commit into
mainfrom
fix/library-styling

Conversation

@nielsbosma

Copy link
Copy Markdown
Contributor

Implements two detector-rule suggestions.

Changes

1. Editor libraries miscategorized as styling

  • Moved CodeMirror and Tiptap from styling.yml to library.yml (they are code/rich-text editor libraries, not CSS/UI styling). CodeMirror match also gains the ^@uiw/react-codemirror regex per the suggestion.
  • Recategorized D3.js from styling to library (visualization library, not a CSS framework). Moved it from styling.yml to library.yml.
  • These previously sat at confidence: high in the styling slot and risked polluting the frontend styling hash token.

2. NetTopologySuite not detected

  • Added a new nettopologysuite detector to library.yml matching nuget deps with prefix NetTopologySuite (category library, confidence high). Surfaces the spatial geometry library that was present in raw deps but never reported.

Tests

dotnet test: 95 passed / 95 total, 0 failed (baseline 95).

Snapshots updated

4 verified snapshots bumped rulesLoaded: 740 → 741 (the one added NetTopologySuite rule): django-spa, go-service, next-dotnet-monorepo, numpy-style-lib. The category moves did not change rule count and no fixture exercises codemirror/tiptap/d3, so only the rule count changed.

@nielsbosma
nielsbosma merged commit c0198be into main Jun 23, 2026
1 check passed
@nielsbosma
nielsbosma deleted the fix/library-styling branch June 23, 2026 15: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