You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to run solhint and I am getting a problem that was not there the past few days:
yarn solhint contracts/*.sol
yarn run v1.22.19
contracts/PriceConverter.sol
contracts/FundMe.sol
5:1 warning global import of path @chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name) no-global-import
6:1 warning global import of path ./PriceConverter.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name) no-global-import
26:5 warning Immutable variables name are set to be in capitalized SNAKE_CASE immutable-vars-naming
contracts/PriceConverter.sol
4:1 warning global import of path @chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name) no-global-import
✖ 4 problems (0 errors, 4 warnings)
Done in 0.90s.
For some reason all the imports have a yellow underline, I have ran "yarn add --dev @chainlink/contracts" to make sure that everything is correct on that end, but it did not fix the problem.
( I had to rebuild my container )
I added the same "@chainlink/contracts": "^0.3.1", as in the repo.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I tried to run solhint and I am getting a problem that was not there the past few days:
For some reason all the imports have a yellow underline, I have ran "yarn add --dev @chainlink/contracts" to make sure that everything is correct on that end, but it did not fix the problem.
( I had to rebuild my container )
I added the same "@chainlink/contracts": "^0.3.1", as in the repo.
Beta Was this translation helpful? Give feedback.
All reactions