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

Fix the linter for C++ files #7930

Merged
1 commit merged into from
Oct 15, 2020
Merged

Fix the linter for C++ files #7930

1 commit merged into from
Oct 15, 2020

Conversation

zadjii-msft
Copy link
Member

@zadjii-msft zadjii-msft commented Oct 15, 2020

For whatever reason, the super linter seems to think that any file it doesn't recognize is an EDITORCONFIG file. That means all our cpp, hpp, h, resw, xaml, etc files are going to get linted with different rules than the clang-format ones we already use.

This PR disables the EDITORCONFIG linter, and has a minimal change to a cpp file to ensure that it's no longer linted by the action.

See also:

@zadjii-msft zadjii-msft added Area-Build Issues pertaining to the build system, CI, infrastructure, meta Priority-0 Bugs that we consider release-blocking/recall-class (P0) Product-Meta The product is the management of the products. labels Oct 15, 2020
@zadjii-msft zadjii-msft added the AutoMerge Marked for automatic merge by the bot when requirements are met label Oct 15, 2020
@ghost
Copy link

ghost commented Oct 15, 2020

Hello @zadjii-msft!

Because this pull request has the AutoMerge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

Do note that I've been instructed to only help merge pull requests of this repository that have been opened for at least 8 hours, a condition that will be fulfilled in about 6 hours 19 minutes. No worries though, I will be back when the time is right! 😉

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@zadjii-msft
Copy link
Member Author

@msftbot merge this in like 5 minutes

@ghost
Copy link

ghost commented Oct 15, 2020

Hello @zadjii-msft!

Because you've given me some instructions on how to help merge this pull request, I'll be modifying my merge approach. Here's how I understand your requirements for merging this pull request:

  • I won't merge this pull request until after the UTC date Thu, 15 Oct 2020 13:42:24 GMT, which is in 5 minutes

If this doesn't seem right to you, you can tell me to cancel these instructions and use the auto-merge policy that has been configured for this repository. Try telling me "forget everything I just told you".

@zadjii-msft zadjii-msft mentioned this pull request Oct 15, 2020
4 tasks
@ghost ghost merged commit 8bdae31 into master Oct 15, 2020
@ghost ghost deleted the dev/migrie/fix-aggressive-linting branch October 15, 2020 16:06
@WSLUser
Copy link
Contributor

WSLUser commented Oct 15, 2020

Wow, I saw there was a C++ PR on the linter but it wasn't anything useful for here. Wish I had caught this. That actually sounds like a bug. I'll see if there's already an issue open for it and open one if there is not.

@WSLUser
Copy link
Contributor

WSLUser commented Oct 15, 2020

FYI https://github.com/github/super-linter/issues/858 may come bite us. If so, we just need to pin the release until fixed

@WSLUser
Copy link
Contributor

WSLUser commented Oct 15, 2020

https://github.com/github/super-linter/issues/825 appears to be the issue and solved by this PR.

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Build Issues pertaining to the build system, CI, infrastructure, meta AutoMerge Marked for automatic merge by the bot when requirements are met Priority-0 Bugs that we consider release-blocking/recall-class (P0) Product-Meta The product is the management of the products.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants