Skip to main content
Docs /Languages

Languages.

aislop runs the available checks for each language. Run npx aislop doctor to see which optional tools are installed. Scala support is in beta.

Support matrix

Scroll horizontally to compare all engines.

LanguageFormatLintQualityAI slopSecurity
TypeScriptBiomeoxlintknip + complexityfullnpm/pnpm audit + regex
JavaScriptBiomeoxlintknip + complexityfullnpm/pnpm audit + regex
Pythonruffruffcomplexityfullpip-audit + regex
Gogofmtgolangci-lintcomplexityfullgovulncheck + regex
Rustcargo fmtclippycomplexityfullcargo-audit + regex
Rubyrubocoprubocopcomplexityfullregex
PHPphp-cs-fixerphpcscomplexityfullregex
Javagoogle-java-format (when the build uses it)PMD + Checkstyle (with project config)complexityfullregex
Scala (beta)scalafmt (opt-in)nonefile sizeimports, braced catches, console, commentsSQL, process, deserialization patterns
Expo / React NativeBiomeoxlint + expo-doctorknip + complexityfullnpm/pnpm audit
C#dotnet formatRoslynator / InspectCodecomplexityfulldotnet package audit + regex
C/C++clang-formatcppcheck + clang-tidycomplexityfullregex

Optional C# and C/C++ tools

Built-in text, complexity, and AI-slop checks run without extra tools. Install the language toolchains for project-aware formatting, linting, and dependency checks.

# macOS
brew install cppcheck llvm
brew install --cask dotnet-sdk

C# project evaluation is opt-in. Enable it only for repositories you trust:

lint:
  csharp:
    projectEvaluation: true

Scala support (beta)

Initial support is available, with coverage and accuracy still being refined. Scala 3 indentation-based syntax and real-world scalafmt integration remain ongoing work. Scala linting and function-complexity analysis are not available yet. Unused-import advice is limited to Java namespaces; Scala imports can supply implicits without textual references.

Scala sources and sbt/Mill builds are detected automatically. To opt into formatting, install scalafmt on your PATH and add a project .scalafmt.conf. Run npx aislop doctor to check tool availability.

Java tools

Java tools are read from your PATH and need a JRE. npx aislop doctor lists them and how to install them.

  • google-java-format runs only when the build configures it (Spotless googleJavaFormat or fmt-maven-plugin), including the AOSP style.
  • PMD runs a focused set of bug-finding rules, or the project's own PMD ruleset.
  • Checkstyle runs only when the project has a checkstyle.xml.
  • Security flags SQL and process commands built by string concatenation or String.format, and ObjectInputStream / XMLDecoder deserialization.
  • AI slop covers unused and duplicate imports, System.out leftovers, catch blocks that only print, and ai-slop/java-broad-throws.

Framework detection

aislop detects the framework automatically and applies sensible defaults. What it recognizes:

  • Next.js — via next in package.json or next.config.*. Adds Next-specific lint rules.
  • React / Vite / Remix — via package.json. Enables react-hooks + jsx-a11y rules.
  • Astro — via astro in package.json or astro.config.*. Disables no-undef (frontmatter globals) and no-unused-expressions (third-party inline-script IIFEs).
  • Expo / React Native — via expo. Runs expo-doctor for dependency alignment.
  • Django / Flask / FastAPI — via requirements.txt or pyproject.toml.

Missing a language?

Open an issue on GitHub. The engine layer is pluggable — adding a language is mostly wiring up existing tooling.