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.
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.
JAVASCRIPT
JavaScript language entry.
PYTHON
Python language entry.
RUFF
Python deterministic checker.
RUST_LANG
Rust language entry.
TSC
TypeScript’s compiler-as-checker. Streams diagnostics to stdout.
TYPESCRIPT
TypeScript language entry.