Comments (2)
Answering your question about the recommended rules, I can confirm the ones on the readme marked as recommended are the ones that actually solhint check.
Here I can copy both ruleset
DEFAULT:
type >> best-practises || name >> max-line-length
type >> best-practises || name >> no-console
RECOMMENDED:
type >> best-practises || name >> max-states-count
type >> best-practises || name >> no-console
type >> best-practises || name >> no-empty-blocks
type >> best-practises || name >> no-global-import
type >> best-practises || name >> no-unused-import
type >> best-practises || name >> no-unused-vars
type >> best-practises || name >> payable-fallback
type >> best-practises || name >> reason-string
type >> miscellaneous || name >> quotes
type >> naming || name >> const-name-snakecase
type >> naming || name >> contract-name-camelcase
type >> naming || name >> event-name-camelcase
type >> naming || name >> func-name-mixedcase
type >> naming || name >> use-forbidden-name
type >> naming || name >> var-name-mixedcase
type >> order || name >> imports-on-top
type >> order || name >> visibility-modifier-order
type >> security || name >> avoid-call-value
type >> security || name >> avoid-low-level-calls
type >> security || name >> avoid-sha3
type >> security || name >> avoid-suicide
type >> security || name >> avoid-throw
type >> security || name >> avoid-tx-origin
type >> security || name >> check-send-result
type >> security || name >> compiler-version
type >> security || name >> func-visibility
type >> security || name >> multiple-sends
type >> security || name >> no-complex-fallback
type >> security || name >> no-inline-assembly
type >> security || name >> not-rely-on-block-hash
type >> security || name >> not-rely-on-time
type >> security || name >> reentrancy
type >> security || name >> state-visibility
from solhint.
Added list of default rules into readme
Fixed Category on quotes rule
Generated last docs to contain the quotes fix and new no-console rule
#443
from solhint.
Related Issues (20)
- the reentrancy rules is out-of-date HOT 1
- The `var-name-mixedcase` rule triggers when using `$` as a variable name HOT 1
- Default is not catching any errors. HOT 4
- Setup solhint to fail github CI on any warning with `--max-warnings 0` HOT 4
- dynamic loading of rules breaks bundlers HOT 3
- New rule `func-named-parameters` enforced on built-in functions HOT 9
- 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
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.