When spellcheck plugin invokes cspell to check files it uses a wildcard path like <package>/**/*.h. On Linux this is expanded by the shell therefore doesn't pick up the expected files (fewer files). To resolve double quote the path so that the shell doesn't expand and the parameter is passed to cspell to expand.
Patch sent for review: https://edk2.groups.io/g/devel/message/76428 PR created here: https://github.com/tianocore/edk2/pull/1706
v2 patch sent here: https://edk2.groups.io/g/devel/message/76553
The patch has been sent.
(In reply to gaoliming from comment #4) > The patch has been sent. Patch reviewed: https://edk2.groups.io/g/devel/message/76636. Still need to merge.
Merged via f47c4676dd1a532b22a059cd036918abd6b0dd11. PR: <https://github.com/tianocore/edk2/pull/1804>