Skip to main content

Module definitions

Module definitions 

Source
Expand description

The registered languages.

Adding a language is an entry here plus, if it has one, a tool output parser. No control flow anywhere else in drep changes.

config_files is what makes a tool run at all: drep checks a project against the style that project has chosen, so a repo with no eslint config gets no eslint findings rather than a wall of default-preset complaints.

Statics§

ALL_LANGUAGES
Every registered language, in registration order.
CHECKSTYLE
Java linter. Emits SARIF 2.1.0 on stdout; its startup banner goes to stderr.
CLIPPY
Rust linter - emits structured JSON via cargo’s message-format.
ESLINT
JavaScript deterministic checker.
GO
Go language entry.
GOFMT
Go formatting checker - lists files whose formatting drifts from gofmt’s.
GO_VET
go vet. Streams diagnostics to stderr.
GROOVY
Groovy language entry.
JAVA
Java language entry.
JAVASCRIPT
JavaScript language entry.
KOTLIN
Kotlin language entry.
KTLINT
Kotlin linter and formatter, run in lint-only mode.
PYTHON
Python language entry.
RUFF
Python deterministic checker.
RUST_LANG
Rust language entry.
SCALA
Scala language entry.
TSC
TypeScript’s compiler-as-checker. Streams diagnostics to stdout.
TYPESCRIPT
TypeScript language entry.