question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Problems With Solhint Plugins

See original GitHub issue

I’m trying to use the rules on a custom solhint plugin by changing the .solhint.json configuration file. The rules themselves work as I can lint the file manually using the terminal and I get the expected errors, but I cannot manage to make the Solidity plugin itself detect these custom rules.

I have changed the settings to explicitly use solhint as per the documentation i.e

"solidity.linter": "solhint",
"solidity.solhintRules": {
  "avoid-sha3": "warn"
}

And I have changed the .solhint.json as per the Solhint docs too.

Any idea of what I am doing wrong?

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:23 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
Jaime-Iglesiascommented, Apr 1, 2020

@Jaime-Iglesias I have added an issue for this protofire/solhint#206

@juanfranblanco much appreciated, hopefully they will be able to support this, as I think it defenitely can bring a lot of value for both projects.

1reaction
juanfranblancocommented, Apr 1, 2020

At the moment the extension does not load the plugins section, i can add that and check it globally.

Read more comments on GitHub >

github_iconTop Results From Across the Web

solhint-plugin-prettier - npm package - Snyk
Is solhint-plugin-prettier safe to use? The npm package solhint-plugin-prettier was scanned for known vulnerabilities and missing license, and no issues were ...
Read more >
Solhint - GitHub Pages
This is an open source project for linting Solidity code. This project provides both Security and Style Guide validations. Installation. You can install...
Read more >
Solhint v3.0: Autofix Support and New Integrations - Medium
Developed by Protofire, Solhint is an advanced linter for detecting syntax-related security vulnerabilities in the Solidity-based code.
Read more >
Solhint for IntelliJ - Static Analysis Tools - Alchemy
Solhint for IntelliJ is a Solhint plugin for the IntelliJ javascript IDE. ... analyzes your Solidity code for style & security issues and...
Read more >
SublimeLinter-contrib-solhint - Package Control
Linter installation. Before installing this plugin, you must ensure that solhint is installed on your system. To install solhint need to execute next...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found