Comments (13)
I will check this as soon as i can
thanks @madlabman for the suggestion
from solhint.
Hey @MaxenceAdnot I will implement this fix as well
Probably next week
solhint community is a fork from protofire solhint
both are open source
We will mantain this original solhint because it is an important part of protofire products
from solhint.
@MaxenceAdnot
@madlabman
Expect new solhint version on Monday
from solhint.
Will merge this
#578
To fix this issue
from solhint.
New version
https://www.npmjs.com/package/solhint
from solhint.
@madlabman
Yes , sorry. You're right
I mean, reports[0] contains all errors from the first contract analyzed
If you have more than one contract this will not provide correct info
Like you said I need to loop through all contracts ( all reports[] )
I will fix it today on my afternoon
Thanks a lot for the feedback !! Really appreciate
from solhint.
FWIW I overhauled the exit codes on solhint-community with:
solhint-community/solhint-community#134 -- to exit early and with a different code if there's a misconfiguration
solhint-community/solhint-community#76 -- to have --quiet not override --max-warnings
from solhint.
FWIW I overhauled the exit codes on solhint-community with:
solhint-community/solhint-community#134 -- to exit early and with a different code if there's a misconfiguration solhint-community/solhint-community#76 -- to have --quiet not override --max-warnings
cool!
Thanks @juanpcapurro for that!
from solhint.
Hello @dbale-altoros
Do you plan to implement this in solhint or should we move to solhint-community ?
from solhint.
Thanks a lot @dbale-altoros
from solhint.
Welp, still doesn't work for me.
Probably, the reason is the following code
if (reports[0].errorCount > 0) process.exit(EXIT_CODES.REPORTED_ERRORS)
should iterate over the all the reports instead.
from solhint.
@madlabman made a new package on npm
whenever you can, please confirm if it is working
from solhint.
@madlabman made a new package on npm whenever you can, please confirm if it is working
LGTM, thank you @dbale-altoros !
from solhint.
Related Issues (20)
- Enforce underscore for internal or private functions HOT 1
- Low sensitivity of explicit-types HOT 3
- Can't install solhint through yarn/npm package manager HOT 2
- "no-empty-blocks": ["error", { "ignoreConstructors": true }] not working HOT 6
- e2e tests to fixable rules and store report to file (?)
- Make custom-errors rules check only from version it appearead HOT 1
- Allow Solhint report to be exported to file HOT 1
- The comprehensive-interface rule results in compiler warning: Interface functions are implicitly "virtual" HOT 7
- Add an official docker image for solhint HOT 3
- private-vars-leading-underscore on internal functions in libraries is not a best practice HOT 2
- Make fallback functions 'external' HOT 1
- Solhint npm installed executable won't run - throws error "Unexpected Token" HOT 1
- `explicit-types` autofix issues HOT 3
- When throwing ConfigMissingError, keep error message succint HOT 1
- New possible rules to analyze HOT 2
- `gas-indexed-events` not working for Interfaces HOT 2
- False version warning by `gas-custom-errors` rule HOT 2
- Feature request: rule for ordering imports topologically and alphabetically HOT 1
- How to apply the foundry-test-functions rule only to test files? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from solhint.