Skip to content

Conversation

@Swalkyn
Copy link

@Swalkyn Swalkyn commented Jan 29, 2025

No description provided.

Comment on lines +20 to +21
CobolConfiguration conf = CobolCheckVerifier.defaultConfig();
conf.setPreprocessorListeners(Collections.singletonList(check));
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The CheckVerifier does not register the rule automatically.

// Change key and name to reflect your company rule repository.
// Don't use "cobol" key, it's the core repository.
private static final String REPOSITORY_KEY = "my-custom-cobol";
private static final String REPOSITORY_KEY = "customcobol";
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If dashes are used in the repository key, the scanner will crash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant