Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,13 @@
@Rule(key = "S1451")
public class FileHeaderCheck extends IssuableSubscriptionVisitor {

private static final String DEFAULT_HEADER_FORMAT = "";
private static final String DEFAULT_HEADER_FORMAT = """
/*
* <Your-Product-Name>
* Copyright (c) <Year-From>-<Year-To> <Your-Company-Name>
*
* Please configure this header in your SonarCloud/SonarQube quality profile.
*/""";
private static final String MESSAGE = "Add or update the header of this file.";

@RuleProperty(
Expand Down
Loading