MCPcopy Index your code
hub / github.com/dalance/svlint

github.com/dalance/svlint @v0.9.5

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.9.5 ↗ · + Follow
923 symbols 1,278 edges 167 files 4 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

svlint

SystemVerilog linter compliant with IEEE1800-2017. Written in Rust, based on sv-parser. Svlint is also integrated with most text editors via svls.

Actions Status codecov

Crates.io svlint

svlint

Installation

svlint can be installed in several ways: - Download a release, extract, and add the bin/ directory to your $PATH. A PDF copy of the MANUAL is included in the doc/ directory. - If you have a Rust toolchain, then you can install the binary with cargo, via cargo install svlint. This will copy the svlint binary (and the dev-only mdgen binary) to (usually) ~/.cargo/bin, but not the wrapper scripts (e.g. svlint-parseonly) or pre-written configurations (e.g. parseonly.toml) from rulesets/. - snapcraft, via sudo snap install svlint.

Usage

To see information about the command line interface use svlint --help, and to see which version you're running use svlint --version.

Further information on how svlint works, how to configure it, and other usage information is in the manual.

Extension points exported contracts — how you extend this code

SyntaxRule (Interface)
(no doc) [155 implementers]
src/linter.rs
TextRule (Interface)
(no doc) [4 implementers]
src/linter.rs

Core symbols most depended-on inside this repo

check_regex
called by 58
src/linter.rs
write
called by 36
src/printer.rs
read_to_string
called by 16
src/printer.rs
println
called by 16
src/printer.rs
run_opt_config
called by 12
src/main.rs
name
called by 11
src/syntaxrules/prefix_inout.rs
resources_path
called by 8
src/main.rs
print_error
called by 8
src/printer.rs

Shape

Method 663
Class 167
Function 82
Enum 9
Interface 2

Languages

Rust100%

Modules by API surface

src/main.rs40 symbols
src/config.rs23 symbols
src/printer.rs19 symbols
src/linter.rs17 symbols
src/mdgen.rs15 symbols
src/syntaxrules/style_operator_integer_leading_space.rs7 symbols
src/syntaxrules/style_operator_boolean_leading_space.rs7 symbols
src/syntaxrules/style_operator_arithmetic_leading_space.rs7 symbols
src/syntaxrules/implicit_case_default.rs6 symbols
src/syntaxrules/function_with_automatic.rs6 symbols
src/syntaxrules/explicit_brackets_for_confusing_precedence.rs6 symbols
src/textrules/style_textwidth.rs5 symbols

For agents

$ claude mcp add svlint \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page