SonarLint生成一个错误:
Package names should comply with a naming convention (squid:S00120) ... With the default regular expression ^[a-z]+(\.[a-z][a-z0-9]*)*$.
但是,JLS允许甚至建议使用下划线。第6.1条报关单上写着,
如果域名包含连字符或标识符中不允许的任何其他特殊字符(§3.8),则将其转换为下划线。
我可以更改正则表达式,还是必须将其固定在产品中?
https://stackoverflow.com/questions/47858665
复制相似问题