Linting
Umbrella linters
- Githubs super-linter. Shell/Python
- mega-linter is a hard-fork of GitHub Super-Linter, rewritten in python to add lots of additional features
Code linters
Prettier
- Website
- Plugins
- Config options
- Many things are not configurable, not very flexible
prettier l.yml
prettier --write l.yml
Repository linters
alint
- Website
- Repo: docs/
- Contain more docs (i.e. design docs) which are not included in the website docs, i.e.: Design doc: ^ and $ in content patterns
- Website docs
- alint vs other repo-level linters
- pre-commit integration
- takes a long time to install (compile)
- Bundled Rulesets
- Limitations
- No look-around regex support. Alint uses the Rust regex crate, which does not implemtent look-arounds (FR: Linear Time Lookaround)
- alint LSP
Install:
stew install asamarts/alint
Create a .alint.yml:
alint init
Run checks:
alint check
repolinter
- Archived in 2026-02
- Website
- Javascript
- Container image
- No arch package
ls-lint
semgrep
see semgrep.md
Languages
Python
Formats / Markup languages
reStructuredText
rstcheck
- github
- Last commit 2020-05. Lint only, cannot format/fix.
- But it's the only rst linter ALE supports.