Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump golangci/golangci-lint-action from 4 to 5 #788

Merged
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
build(deps): bump golangci/golangci-lint-action from 4 to 5
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 4 to 5.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](golangci/golangci-lint-action@v4...v5)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
dependabot[bot] authored Apr 25, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit aa793c6657ba4f3ac22c7ab63736d93ebe863928
2 changes: 1 addition & 1 deletion .github/workflows/golangci-lint.yaml
Original file line number Diff line number Diff line change
@@ -26,6 +26,6 @@ jobs:
cache: true

- name: Lint
uses: golangci/golangci-lint-action@v4
uses: golangci/golangci-lint-action@v5
with:
version: v1.54.2

Unchanged files with check annotations Beta

// ShowWhitespaces sets if whitespace is shown in code editor.
func (ce *CodeEditorWidget) ShowWhitespaces(s bool) *CodeEditorWidget {
// ce.getState().editor.SetShowWhitespaces(s)

Check failure on line 58 in CodeEditor.go

GitHub Actions / Lint

commentedOutCode: may want to remove commented-out code (gocritic)
return ce
}
// TabSize sets editor's tab size.
func (ce *CodeEditorWidget) TabSize(size int) *CodeEditorWidget {
// ce.getState().editor.SetTabSize(size)

Check failure on line 64 in CodeEditor.go

GitHub Actions / Lint

commentedOutCode: may want to remove commented-out code (gocritic)
return ce
}
// LanguageDefinition sets code editor language definition.
func (ce *CodeEditorWidget) LanguageDefinition(definition LanguageDefinition) *CodeEditorWidget {
// s := ce.getState()

Check failure on line 71 in CodeEditor.go

GitHub Actions / Lint

commentedOutCode: may want to remove commented-out code (gocritic)
lookup := map[LanguageDefinition]func(){
//LanguageDefinitionSQL: s.editor.SetLanguageDefinitionSQL,
//LanguageDefinitionCPP: s.editor.SetLanguageDefinitionCPP,
// Text sets editor's text.
func (ce *CodeEditorWidget) Text(str string) *CodeEditorWidget {
// ce.getState().editor.SetText(str)

Check failure on line 91 in CodeEditor.go

GitHub Actions / Lint

commentedOutCode: may want to remove commented-out code (gocritic)
return ce
}
// ErrorMarkers sets error markers.
// func (ce *CodeEditorWidget) ErrorMarkers(markers imgui.ErrorMarkers) *CodeEditorWidget {
// ce.getState().editor.SetErrorMarkers(markers)
//return ce

Check failure on line 98 in CodeEditor.go

GitHub Actions / Lint

commentFormatting: put a space between `//` and comment text (gocritic)
//}
// HandleKeyboardInputs sets if editor should handle keyboard input.
func (ce *CodeEditorWidget) HandleKeyboardInputs(b bool) *CodeEditorWidget {
// ce.getState().editor.SetHandleKeyboardInputs(b)

Check failure on line 103 in CodeEditor.go

GitHub Actions / Lint

commentedOutCode: may want to remove commented-out code (gocritic)
return ce
}
// HasSelection returns true if some text is selected.
func (ce *CodeEditorWidget) HasSelection() bool {
// return ce.getState().editor.HasSelection()

Check failure on line 121 in CodeEditor.go

GitHub Actions / Lint

commentedOutCode: may want to remove commented-out code (gocritic)
return false
}
// GetSelectedText returns selected text.
func (ce *CodeEditorWidget) GetSelectedText() string {
// return ce.getState().editor.GetSelectedText()

Check failure on line 127 in CodeEditor.go

GitHub Actions / Lint

commentedOutCode: may want to remove commented-out code (gocritic)
return ""
}
// GetText returns whole text from editor.
func (ce *CodeEditorWidget) GetText() string {
// return ce.getState().editor.GetText()

Check failure on line 133 in CodeEditor.go

GitHub Actions / Lint

commentedOutCode: may want to remove commented-out code (gocritic)
return ""
}
// GetCurrentLineText returns current line.
func (ce *CodeEditorWidget) GetCurrentLineText() string {
// return ce.getState().editor.GetCurrentLineText()

Check failure on line 139 in CodeEditor.go

GitHub Actions / Lint

commentedOutCode: may want to remove commented-out code (gocritic)
return ""
}