[Feature] Expose --context-lines option and make it configurable #183
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
priority/low
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
Milestone
Requesting an enhancement to Kantra that involves exposing and allowing configurability of the --contextline option, which is currently fixed at a default value of 100. (
kantra/cmd/analyze.go
Line 703 in 6a5750a
By introducing a configurable option, users will be empowered to adjust the contextline value, thereby adding functionalities such as the exclusion of code snippets from reports by setting the value to 0, similar to Windup's --skipSourceCodeReports. This feature not only enhances customization but also serves as a privacy measure for users who prefer not to display any code snippets in the report.
The text was updated successfully, but these errors were encountered: