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

tolezk/fix_showfile #8

Closed
wants to merge 2 commits into from
Closed

Conversation

tolezk
Copy link

@tolezk tolezk commented Mar 10, 2022

So, this is relative to #7, part 1.

Here I made extension stable with '--showfile' option and fixed certain case of checkpatch log format violation when checkpatchCommit() called.

At this moment I don't know if package.json/contributes/problemMatchers should be modified too.

Anatolii Ivanov added 2 commits March 10, 2022 11:24
This forces '--showfile' mode to make linter stable whether the option
passed directly by the arg or implicitly by .config file
By design linter is run from the directory where the repo
containing commit is located. And in case when
there is no '--show-types' option passed the resulting log
violates expected format and parseCheckpatchLog() doesn't see
what it should. Forcing the option fixes the problem.
@tolezk
Copy link
Author

tolezk commented Mar 21, 2022

I'll redesign this to include more useful stuff.

@tolezk tolezk closed this Mar 21, 2022
@tolezk tolezk deleted the tolezk/fix_showfile branch March 21, 2022 11:34
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.

1 participant