ujiuji1259 / sylver-cli

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sylver logo

Multi-language programmable linter

Installation

Binary releases

curl -s https://sylver.dev/install.sh | bash

From source

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

Running your first analysis

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.

Writing your own rulesets

About

License:GNU Affero General Public License v3.0


Languages

Language:Rust 96.3%Language:Go 2.2%Language:Shell 1.1%Language:Python 0.5%