Skip to content

Commit

Permalink
lint: enable suspicious-semicolon_rule by default
Browse files Browse the repository at this point in the history
  • Loading branch information
IEncinas10 committed Dec 21, 2023
1 parent 4e8133d commit 874b13a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions verilog/analysis/default_rules.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ inline constexpr const char* kDefaultRuleSet[] = {
"positive-meaning-parameter-name",
"constraint-name-style",
"suggest-parentheses",
"suspicious-semicolon",
"truncated-numeric-literal",
// TODO(fangism): enable in production:
// TODO(b/155128436): "uvm-macro-semicolon"
Expand Down
2 changes: 1 addition & 1 deletion verilog/tools/lint/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ _linter_test_configs = [
("signal-name-style", "signal_name_style", False),
("struct-union-name-style", "struct_name_style", True),
("struct-union-name-style", "union_name_style", True),
("suspicious-semicolon", "suspicious_semicolon", False),
("suspicious-semicolon", "suspicious_semicolon", True),
("v2001-generate-begin", "generate_begin_module", True),
("void-cast", "void-cast", True),
("undersized-binary-literal", "undersized_binary_literal", True),
Expand Down

0 comments on commit 874b13a

Please sign in to comment.