curl -s https://sylver.dev/install.sh | bash
Sylver is written in Rust, so you need to have the Rust toolchain installed. You can install it from rustup. To build sylver:
git clone https://github.com/sylver-dev/sylver-cli.git
cd sylver-cli
cargo build --release
The following command will automatically detect the language(s) of your project and install the corresponding rulesets from the registry:
sylver init
You can then run the analysis:
sylver check
The ruleset definitions available at https://github.com/sylver-dev/rulesets.
- Tutorial for a Python linter: blog.sylver.dev
- Tutorial for a Javascript linter: blog.sylver.dev
- Tutorial for a Go linter: blog.sylver.dev
- Tutorial for a JSON validator: blog.sylver.dev