-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed as not planned
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
It's impossible to run solhint because all of the dev-dependencies are missing. Namely:
"devDependencies": {
+ "prettier": "^3.6.0",
+ "prettier-plugin-solidity": "^1.4.3",
+ "solhint-community": "^4.0.1",
+ "solhint-plugin-prettier": "^0.1.0"
}
Secondly, none of the github tasks actually reference solhint, they just use prettier. So it's probably better to just remove .solhint.json
altogether since it's not even being used.
If you do install all of the dependencies, you get:
✖ 410 problems (410 errors, 0 warnings)
All from the the single rule defined in .solhint.json
.
Expected Behavior
Running npx solhint 'src/**/*.sol'
(or the yarn version) should be able to run. Additionally, it probably shouldn't have 410 errors.
To Reproduce
Run npx solhint 'src/**/*.sol'
or similar. You'll get this:
> npx solhint 'src/**/*.sol'
[solhint] Error: Could not load solhint-plugin-prettier, make sure it's installed.
Additional context
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working