Sublime Text cppcheck "no lint errors"

I installed sublime linter, cppcheck for linter and cppcheck elevated binaries. I installed cppcheck, like other linters (for php and javascript), but cppcheck does not work. The command line says

SublimeLinter: cppcheck activated: Extensions\cppcheck\cppcheck.exe

But linter does not work. Clicking on "show lint errors" gives

no lint errors

And I'm sure there are errors in the code. Any ideas?

+4
source share
1 answer

I met a similar problem as you described. Here are some suggestions:

  • read the .eslintrc file clearly;
  • try running "eslint xxx" in the terminal and find out if there are any hints or errors;
  • sublimetext , lint;
  • , , , , .

, linter.

0

All Articles