Skip to content

feat(lint): support selene#63

Merged
xiaoshihou514 merged 1 commit intonvimdev:mainfrom
barrettruth:lint-cwd
Aug 22, 2023
Merged

feat(lint): support selene#63
xiaoshihou514 merged 1 commit intonvimdev:mainfrom
barrettruth:lint-cwd

Conversation

@barrettruth
Copy link
Copy Markdown
Contributor

@barrettruth barrettruth commented Aug 14, 2023

linters sometimes use config files to know how to format - optional cwd() field passed to uv.spawn() supports this.

Most of this code will go into guard-collection in future

Planning to refactor linting out to make a lot easier in guard-collection. Going to stop all these prs for tools - need to focus on testing after this.

PR also uses cwd() in a demo with selene linter.

@glepnir
Copy link
Copy Markdown
Member

glepnir commented Aug 17, 2023

hmmm git rebase ..

@glepnir
Copy link
Copy Markdown
Member

glepnir commented Aug 18, 2023

you can use git rebase main to merge main branch code and do git rebase -i to squash commit or change on a commit

Comment thread lua/guard/util.lua Outdated
@barrettruth barrettruth changed the title feat(lint): support optional cwd() and selene feat(lint): support selene Aug 19, 2023
@xiaoshihou514 xiaoshihou514 merged commit 35d79c2 into nvimdev:main Aug 22, 2023
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.

3 participants