Closed emretepedev closed 1 year ago
@emretepedev I will ask a few standard questions
1) Do you have a .solhint.json
in the same dir you are executing solhint ? Try forcing it with -c option and test it
2) You are executing with yarn run solhint
... do you have solhint globaly ?
3) Do you have the keyword solhint
as a script defined in the package.json file ? Can you post it here the script section of that file ?
Closed due to lack of user feedback Check the new version release ! Feel free to comment if you have any issue
I have changed the compiler requirement but in the CLI it does not found the issue BUT the vscode is correctly highlighting the problem.
yarn run solhint contracts/FooToken.sol
outputBut vscode shows "Linter: Compiler version ^0.7.4 does not satisfy the ^0.8.4 semver requirement [compiler-version]" correctly.
.solhint.json
package.json
contracts/FooToken.sol