-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We have two patterns to initialize a lint: - Bare struct init - A helper function This changes to just one path: A helper function, plus setters for the optional fields. Prep for adding a new lint option, which would otherwise require changes to everything using the bare struct init. Signed-off-by: Colin Walters <walters@verbum.org>
- Loading branch information
Showing
1 changed file
with
25 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters