Package names must comply with naming convention (squid: S00120) and underscore

sonarlint generates the error "Package names must comply with the naming convention (squid: S00120)" "With the default regular expression ^ [az] + (. [az] [a-z0-9]) $". However, JLS allows and even recommends using the underscore. Clause 6.1. The declarations say: "If the domain name contains a hyphen or any other special character that is not permitted in the identifier (ยง3.8), convert it to an underscore."

Is it possible to change the regular expression or should it be fixed in the product?

+4
source share

No one has answered this question yet.

Source: https://habr.com/ru/post/1690933/


All Articles