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
Repository linters¶
alint¶
- Website
- Website docs
- alint vs other repo-level linters
- pre-commit integration
- takes a long time to install (compile)
- Bundled Rulesets
- 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
- 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:
Create a .alint.yml:
Run checks:
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.