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 21, 2024
1 parent eadbbed commit 2c2801c
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 @@ -10,6 +10,27 @@ repository = "https://github.com/veryl-lang/std"
target = {type = "directory", path = "target/src"}
exclude_std = true

[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 2c2801c

Please sign in to comment.