hardhat-vscode: Linting doesn't work for @openzeppelin/contracts
Hi,
I worked with Solidity extension by Juan Blanco and worked perfectly well, but the import is not working since I moved to this extension. Otherwise, I should add it like this:
import './node_modules/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol';
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 15 (6 by maintainers)
@kanej @antico5
It works fine. Thanks!
Hey @kanej, I have the same error with importing. My project structure is like this. https://github.com/InsureDAO/pool-contracts
I have test contracts in
test/foundry/*, and useremappings.txtto map a library’s path. But that does not work. What is the proper solution for the foundry test contract?