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.
| Language | Format | Lint | Quality | AI slop | Security |
|---|---|---|---|---|---|
| TypeScript | Biome | oxlint | knip + complexity | full | npm/pnpm audit + regex |
| JavaScript | Biome | oxlint | knip + complexity | full | npm/pnpm audit + regex |
| Python | ruff | ruff | complexity | full | pip-audit + regex |
| Go | gofmt | golangci-lint | complexity | full | govulncheck + regex |
| Rust | cargo fmt | clippy | complexity | full | cargo-audit + regex |
| Ruby | rubocop | rubocop | complexity | full | regex |
| PHP | php-cs-fixer | phpcs | complexity | full | regex |
| Java | google-java-format (when the build uses it) | PMD + Checkstyle (with project config) | complexity | full | regex |
| Scala (beta) | scalafmt (opt-in) | none | file size | imports, braced catches, console, comments | SQL, process, deserialization patterns |
| Expo / React Native | Biome | oxlint + expo-doctor | knip + complexity | full | npm/pnpm audit |
| C# | dotnet format | Roslynator / InspectCode | complexity | full | dotnet package audit + regex |
| C/C++ | clang-format | cppcheck + clang-tidy | complexity | full | regex |
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-sdkC# project evaluation is opt-in. Enable it only for repositories you trust:
lint:
csharp:
projectEvaluation: trueScala 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
googleJavaFormatorfmt-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, andObjectInputStream/XMLDecoderdeserialization. - AI slop covers unused and duplicate imports,
System.outleftovers, catch blocks that only print, andai-slop/java-broad-throws.
Framework detection
aislop detects the framework automatically and applies sensible defaults. What it recognizes:
- Next.js — via
nextin package.json ornext.config.*. Adds Next-specific lint rules. - React / Vite / Remix — via package.json. Enables react-hooks + jsx-a11y rules.
- Astro — via
astroin package.json orastro.config.*. Disablesno-undef(frontmatter globals) andno-unused-expressions(third-party inline-script IIFEs). - Expo / React Native — via
expo. Runs expo-doctor for dependency alignment. - Django / Flask / FastAPI — via
requirements.txtorpyproject.toml.
Missing a language?
Open an issue on GitHub. The engine layer is pluggable — adding a language is mostly wiring up existing tooling.