linter-solidity icon indicating copy to clipboard operation
linter-solidity copied to clipboard

Add support for remapping.

Open MicahZoltu opened this issue 7 years ago • 1 comments

My import statements leverage Solidity remapping which means they look like:

import 'ROOT/relative/path/to/other.sol

I then provide a remapping in my solc input JSON that maps ROOT to an absolute path of the root of my solidity source code.

Unfortunately, I don't see a way to provide such a remapping in this package, which means all of my imports are flagged as bad.

MicahZoltu avatar Jul 22 '17 17:07 MicahZoltu

This is also a problem when using Truffle.

willclarktech avatar Dec 13 '18 22:12 willclarktech