-
-
Notifications
You must be signed in to change notification settings - Fork 45
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
New Practice: Used Linter for C++ #419
Comments
Sir, can you assign me this issue, I want to work on this. 🙂 |
@shobhi1310 Hi! Thank you, the issue is yours. 👏 |
@shobhi1310 Hi, how are you going? Do you need any help? :) |
I was having my semester quizzes, will resume from today again 😅 |
Sure, no worries! Hope you were doing great in the quizzes ❤️ Let me know if you'll need any help. |
Hi, @shobhi1310 how is it going? |
@adelkahomolova |
Hi, @shobhi1310 , I don't know your operating system but the command with npm won't work. You have to follow the installation guide here - https://classic.yarnpkg.com/en/docs/install Use the CPP as a name for a folder. |
My workspace OS is linux mint |
@shobhi1310 So choose in the link I sent you and follow the guide :) |
Hi, @shobhi1310 , this is not an issue but expected behavior. There are commands you have to use as the help tells you. The command you have to run is |
Thank you, ma'am, it runs perfectly now! Which linter is to be used for C++? |
I'm not a C++ developer and choosing the right linter is the part of the task. So you'll have to find it out on your own. Sorry. @shobhi1310 I'm sure you can do it :) |
https://github.com/caramelomartins/awesome-linters I got reference of some widely used C++ linters out of which as per the organization's flavour cppcheck serves the purpose well enough. |
There are not only linters, but also some tools for making the code prettier. As I google it, I think you should check these three linters - cppcheck, oclint and clang-tidy. You can get the inspiration from GoLinterUsedPractice to how to check if there is at least one of them. @shobhi1310 |
Also, If I need to test it, should I run |
It's because this is a test for the case if it's not Go language. So the different language is pasted to the test, so it's testing the method |
I will also make a PR today , do once review my code. And, should I also update the readme as well in the Practices section? |
Checking for the following packages: cppcheck.sourceforge.net/ github.com/oclint/oclint/ fixes: DXHeroes#419
Checking for the following packages: cppcheck.sourceforge.net/ github.com/oclint/oclint/ fixes: DXHeroes#419
It's just the information about the time the tests are running. No worries :) |
It's just exceeded the Github Rate limit. Nothing to worry about. @shobhi1310 |
@adelkahomolova In that case would my PR not be merged? 🙄 |
@shobhi1310 I have to discuss it with my colleagues. |
New Practice Proposal
Create a new practice that checks if is used linter for C++.
The text was updated successfully, but these errors were encountered: