This is what helped me. In the file named .solhint.json, I replaced
{ "extends": "solhint:recommended", "rules": { "compiler-version": ["error", "^0.8.0"], "func-visibility": ["warn", { "ignoreConstructors": true }] } }
{ "extends": "solhint:recommended", "rules": { "compiler-version": ["error", "^0.8.0"], "func-visibility": ["warn", { "ignoreConstructors": true }] } } with this
{ "extends": "solhint:recommended", "rules": { "compiler-version": "^0.6.0", "func-visibility": ["warn", { "ignoreConstructors": true }] } }
{ "extends": "solhint:recommended", "rules": { "compiler-version": "^0.6.0", "func-visibility": ["warn", { "ignoreConstructors": true }] } }