Repository navigation
Conversation
Node's explicit module-format extensions were missing: .cjs (CommonJS) next to the already mapped .mjs, and their TypeScript counterparts .mts/.cts. Files with them were not recognised as JavaScript/TypeScript, so no tool for those languages analyzed them, and results uploaded for them by the Codacy Analysis CLI were not shown. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 0 |
| Duplication | 0 |
AI Reviewer: first review requested successfully. AI can make mistakes. Always validate suggestions.
TIP This summary will be updated as you push new changes.
There was a problem hiding this comment.
Pull Request Overview
✅ No blocking issues noticed
No blocking findings. The reviewed changes have no reported logic, security, quality, or requirement-alignment issues.
Test suggestions
- A
.cjspath resolves to JavaScript. - A
.mtspath resolves to TypeScript. - A
.ctspath resolves to TypeScript.
TIP How was this review? Give us feedback
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.cjstoJavascript(next to the already mapped.mjs) and.mts/.ctstoTypeScript.codacy/analysis-cli-action, whosescripts/count-issues.cjswas invisible to language detection both locally and in Cloud.components/language/.../Language.scala), which gets the same change in a companion PR. The Analysis CLI's copy is generated from/api/v3/languages/tools, so it follows once Cloud serves the new extensions.Test plan
sbt scalafmtCheckAllsbt "++2.13 testOnly *LanguageSpec": new caseforPath resolves the Node.js module-format extensions(6/6 passing on JVM and Native)🤖 Generated with Claude Code