Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.

Commit

Permalink
Enable naming lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dalance committed Aug 7, 2024
1 parent b5303af commit 64665dd
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions Veryl.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,27 @@ repository = "https://github.com/veryl-lang/std"
[build]
target = {type = "directory", path = "target/src"}

[lint.naming]
case_enum = "snake"
case_function = "snake"
case_instance = "snake"
case_interface = "snake"
case_modport = "snake"
case_module = "snake"
case_package = "snake"
case_parameter = "screaming_snake"
case_port_inout = "snake"
case_port_input = "snake"
case_port_modport = "snake"
case_port_output = "snake"
case_reg = "snake"
case_struct = "snake"
case_union = "snake"
case_var = "snake"
case_wire = "snake"
prefix_port_input = "i_"
prefix_port_output = "o_"

[doc]
path = "target/doc"

Expand Down

0 comments on commit 64665dd

Please sign in to comment.