# Getting Started
RSLint is still in early development, so expect bugs
- RSLint is written in Rust and therefore very fast.
- RSLint uses a
- RSLint uses a CST (concrete syntax tree) as well as untyped nodes to evaluate patterns in code.
- RSLint can lint any code no matter how wrong it is.
- RSLint groups rules into distinct groups.
You must have cargo installed on your machine, then git clone the repository, and either build the binary and run it, or use cargo run directly.
git clone https://github.com/RDambrosio016/RSLint.git cd RSLint cargo run --release -- ./glob/pattern.js
You can also directly install the rslint cli:
cargo install rslint_cli rslint ./glob/pattern.js
If you do not have rust installed you can find prebuilt binaries for every release here (opens new window).
# Running in VSC
RSLint has a basic LSP and VSC extension, it is however not yet published as it is very early in development. If you would like to use it you
must first install the lsp in the project with
cargo install --path crates/rslint_lsp. Then, open
editors/vscode with visual studio code and press
f5 to start a new vscode instance with the extension. Any
mjs files you open will now be actively linted. The linter runs on the fly, not on save.
Consider supporting RSLint’s development through our Open Collective (opens new window). Any help is greatly appreciated.