Open Alonski opened 6 years ago
Quick fix, upgrade deps manually in ~/.vscode
What to you mean exactly?
This mostly works for me:
cd ~/.vscode/extensions/beaugunderson.solidity-extended-3.0.2/
# update the version numbers in package.json
npm i
# restart vscode
this extension will use the version of solium you have installed locally in your project's node_modules
directory, so if you have solium 1.x installed in your project it should work with the new config format
@Alonski can you try that and verify if it works?
i will also update the extension to use 1.x by default
@beaugunderson I had errors as well, will try again and return with more info if it reappears
On a clean version, it does the following;
https://www.dropbox.com/s/kzz94dukxityhkw/Screenshot%202017-11-17%2015.22.38.png?dl=0
config is:
{
"extends": "solium:all",
"plugins": ["security"],
"rules": {
"quotes": ["error", "double"],
"indentation": ["error", 2],
"no-empty-blocks": "off",
"operator-whitespace": "warning",
"security/enforce-explicit-visibility": ["error"],
"security/no-block-members": "off"
}
}
I found the issue, but I know next to nothing about extensions, so no fix
I'm working in a multi root application.
The extension is looking for solium in the first root, while i open a contract in the second root.
Currently this extension only works with Solium v0.x Getting an error using new Solium format.