Skip to content

Conversation

@yunsii
Copy link
Contributor

@yunsii yunsii commented Apr 13, 2025

Considering backward compatibility, I added a trimmed parameter to the getText function, for example:

if (!getText(node)) {
context.report({
node,
messageId: 'asFunction',
})
}

Closes #101

@codecov
Copy link

codecov bot commented Apr 14, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.77%. Comparing base (c33e2d5) to head (7604441).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #102      +/-   ##
==========================================
+ Coverage   97.75%   97.77%   +0.01%     
==========================================
  Files          10       10              
  Lines         490      494       +4     
  Branches      147      150       +3     
==========================================
+ Hits          479      483       +4     
  Misses         11       11              

☔ 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.

@andrii-bodnar andrii-bodnar merged commit c3ef70c into lingui:main Apr 14, 2025
6 checks passed
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.

New Rule: no-linebreak-inside-t

3 participants