Skip to main content
Iris Code scans ten languages: TypeScript, JavaScript, Vue, Svelte, Go, Python, Ruby, C#, Java and Rust. Every language gets the same core checks, such as secrets, security smells and duplicate code, but each also has its own way of writing functions, imports and debug output, and its own risks. This page explains, language by language, which files Iris Code reads, what it checks for beyond the shared checks, and where it deliberately holds back because it cannot be sure. Pick your language from the tabs below.
Compare health scores only within the same language and settings. A TypeScript file can lose points for things that do not exist in Go, Python, Ruby, C#, Java or Rust: any, @ts-ignore, missing return types and non-null assertions. An 80 in Go and an 80 in TypeScript are not the same 80, so ranking a mixed codebase by score across languages will mislead you.
Iris Code scans .js, .jsx, .mjs, .cjs, .ts and .tsx files with one reader for both languages. All six file types are treated as one family and share the same rules.Checks specific to TypeScript and JavaScript:
  • Unused imports - an import brings code in from another file. Any named, default or namespace import that the file never uses is reported. Java has this check too; the other languages do not report unused imports. See file analysis.
  • TypeScript type checks - uses of any, @ts-ignore comments, non-null assertions (!) and exported functions with no declared return type are each counted separately in the File tab. See TypeScript-specific checks for the full breakdown.
  • Debug prints - console.log, console.warn and console.error calls are reported in Code Lens and in the Code Smells section.
Iris Code does not format JavaScript or TypeScript. It reads your code and reports problems, and leaves layout to the formatter your editor uses, such as Prettier or the built-in TypeScript service. This is deliberate: formatting belongs to that tool, and Iris Code must not compete with it or quietly override the choice your repository has made.