vsg_fixer
Rules
vsg_fixer
load("@rules_vsg//vsg:vsg_fixer.bzl", "vsg_fixer")
vsg_fixer(name, config, extra_configs, target)
A bazel run-able rule that applies vsg --fix in place to the workspace sources of a vhdl_library.
ATTRIBUTES
| Name | Description | Type | Mandatory | Default |
|---|---|---|---|---|
| name | A unique name for this target. | Name | required | |
| config | VSG configuration file. Defaults to the //vsg:config label_flag. | Label | optional | "@rules_vsg//vsg:config" |
| extra_configs | Additional VSG configuration files to merge on top of config (left-to-right). | List of labels | optional | [] |
| target | The vhdl_library (or anything providing VhdlInfo) whose sources to lint. | Label | required |