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
Repository linters
repolinter
- Website
- Javascript
- Container image
- No arch package
- No release since 2021: Cut new version
Install
First, install github-linguist:
$ pamac install icu73
$ export GEM_HOME="$(ruby -e 'puts Gem.user_dir')"
$ export PATH="/home/varac/.local/share/gem/ruby/3.0.0/bin:${PATH}"
$ gem install github-linguist
$ github-linguist
92.72% 3567 Shell
7.28% 280 Ruby
Then install repolinter itself:
npm install -g repolinter
Issues / PRs
- feat: add any-file-contents rule
- Running
repolinter
locally opens a QT linguist GUI Solution:sudo pacman -R qt5-tools
- Uses
node-fetch
library which doesn't honor proxy configuration through env vars: node-fetch does not work behind a proxy - Regex support is pretty limited
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.