Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add --words with default from cspell.json words #2021

Merged
merged 3 commits into from
Mar 26, 2025

Conversation

JoshuaKGoldberg
Copy link
Owner

PR Checklist

Overview

Adds a words?: string[] option that defaults to reading cspell.json as JSON. blockCSpell will add in any words from it to what it produces.

🎁

Sorry, something went wrong.

Verified

This commit was signed with the committer’s verified signature.
JoshuaKGoldberg Josh Goldberg ✨
Copy link

codecov bot commented Mar 26, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.80%. Comparing base (bab5313) to head (eb16196).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2021   +/-   ##
=======================================
  Coverage   99.80%   99.80%           
=======================================
  Files         114      115    +1     
  Lines        4618     4639   +21     
  Branches      289      292    +3     
=======================================
+ Hits         4609     4630   +21     
  Misses          9        9           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Verified

This commit was signed with the committer’s verified signature.
JoshuaKGoldberg Josh Goldberg ✨

Verified

This commit was signed with the committer’s verified signature.
JoshuaKGoldberg Josh Goldberg ✨
@JoshuaKGoldberg JoshuaKGoldberg merged commit f3ab953 into main Mar 26, 2025
13 checks passed
@JoshuaKGoldberg JoshuaKGoldberg deleted the cspell-preserve-words branch March 26, 2025 13:18
Copy link

🎉 This is included in version v2.12.0 🎉

The release is available on:

Cheers! 📦🚀

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.

🐛 Bug: Transition mode clobbers cspell.json words
1 participant