We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a6cc256 commit 62e81f6Copy full SHA for 62e81f6
internal/lint/check_java_package_prefix.go
@@ -60,6 +60,8 @@ func (v *fileOptionsJavaPackagePrefixVisitor) Finally() error {
60
}
61
62
expect_package := prefix + "." + strings.Replace(filepath.Dir(v.fileName), "/", ".", -1)
63
+ expect_package = strings.Replace(expect_package, "interface", "interfaces", -1)
64
+ expect_package = strings.Replace(expect_package, "-", "_", -1)
65
if expect_package != value {
66
v.AddFailuref(v.option.Position, `Expect option "java_package" as: "%s" actual: "%s"`, expect_package, value)
67
0 commit comments