Skip to content

Change analyzer doc#27

Merged
breml merged 1 commit intobreml:masterfrom
alexandear:change-doc
Nov 20, 2023
Merged

Change analyzer doc#27
breml merged 1 commit intobreml:masterfrom
alexandear:change-doc

Conversation

@alexandear
Copy link
Copy Markdown
Contributor

@alexandear alexandear commented Nov 20, 2023

This PR changes the analyzer description to remove duplicated bidichk word:

Before:

❯ go run cmd/bidichk/main.go
bidichk: bidichk detects dangerous unicode character sequences

After:

❯ go run cmd/bidichk/main.go
bidichk: Checks for dangerous unicode character sequences

Also, after this PR is merged we can refactor the golangci-lint code to the following:

	return goanalysis.NewLinter(
		a.Name,
		a.Doc,
		[]*analysis.Analyzer{a},
		cfgMap,
	).WithLoadMode(goanalysis.LoadModeSyntax)

@alexandear alexandear changed the title Change analyzer doc to match golangci-lint's description Change analyzer doc Nov 20, 2023
Copy link
Copy Markdown
Owner

@breml breml left a comment

Choose a reason for hiding this comment

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

LGTM

@breml breml merged commit 446f500 into breml:master Nov 20, 2023
@alexandear alexandear deleted the change-doc branch November 20, 2023 20:23
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.

2 participants