colis-anr / lintshell

A user-extensible lint for POSIX shell
10 stars 0 forks source link
lint linter linting posix shell-script shellcheck

lintshell, a user-extensible lint for POSIX shell

Description

lintshell analyzes the syntax trees produced by the morbig parser to look for potential programming errors.

lintshell is user-extensible: anyone can program an analysis and integrate it into the tool.

Installation

Via OPAM

After the first release, there will be an OPAM package and opam install lintshell will be sufficient.

One can install the latest development version with:

opam pin lintshell.dev https://github.com/colis-anr/lintshell.git

Or manually by:

  1. cloning this repository and cd-ing to it;
  2. installing the dependencies: opam install . --deps-only
  3. make sure OPAM's environment is in sync: eval $(opam env)
  4. building lintshell: make
  5. playing with it: bin/lintshell [...]
  6. installing it: make install

Requirements

Usage

Want to write your own analyzer?

Please read this file?