Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[-]
Welcome
You have to register before you can post on our site.

Username:


Password:





[-]
Discord Widget

[-]
Twitter: SickGaming

[-]
Latest Threads
[Tut] Python Find Shortest List in List
Last Post: xSicKxBot
Today 02:42 AM
» Replies: 0
» Views: 0
News - Sly Cooper Celebrates 20 Years Wi...
Last Post: xSicKxBot
Today 02:41 AM
» Replies: 0
» Views: 0
PC - Isonzo
Last Post: xSicKxBot
Today 02:41 AM
» Replies: 0
» Views: 0
[Tut] How to Delete a Line from a File i...
Last Post: xSicKxBot
Yesterday 09:31 AM
» Replies: 0
» Views: 0
[Tut] PHP Excel Export Code (Data to Fil...
Last Post: xSicKxBot
Yesterday 09:31 AM
» Replies: 0
» Views: 0
News - Pierce Brosnan Doesn't Care Who T...
Last Post: xSicKxBot
Yesterday 09:30 AM
» Replies: 0
» Views: 0
PC - Broken Pieces
Last Post: xSicKxBot
Yesterday 09:30 AM
» Replies: 0
» Views: 0
[Tut] Python Find Longest List in List
Last Post: xSicKxBot
09-23-2022 01:19 PM
» Replies: 0
» Views: 0
[Tut] How to Capture Screenshot of Page ...
Last Post: xSicKxBot
09-23-2022 01:19 PM
» Replies: 0
» Views: 0
(Indie Deal) Fantasy Idols Bundle, HITMA...
Last Post: xSicKxBot
09-23-2022 01:19 PM
» Replies: 0
» Views: 0

[Tut] Best Solidity Linter

#1
Best Solidity Linter

Rate this post

💡 A code linter is a static code analysis tool to find programming errors, bugs, style mistakes, and suspicious constructs.

The best Solidity Linter is Ethlint with a close second Solhint. Most other linters are not well qualified to compete with those early tools!

Solidity Linter #1 – Ethlint



Ethlint comes with the popular slogan “yet another Solidity linting tool”.

I think the name is not well chosen because, due the fact that Solidity is super young, there is not a swamp of linting tools available, yet.

You can install it using the following expression:

npm install -g solhint

Here’s how you’d run this:

solhint [options] <file> […other_files]

💡 Learn More: Ethlint Linting Tool

Solidity Linter #2 – Solhint



Solhint is a linter for Solidity that provides security and a style guide validations.

You can install the Linter using this command:

npm install -g ethlintsolium -V

After initial configuration, the execution is as simple as running this command in your shell:

> npm run solhint

💡 Learn More: Solhint Linting Tool

I would recommend more but I think those are the two best tools at this point.

If you want to learn Soldity, I’d applause you because this means you rely less on Linters (a goal worth pursuing)! 🙂

You can check out our in-depth tutorial here:

Learn Solidity Course


Solidity is the programming language of the future.

It gives you the rare and sought-after superpower to program against the “Internet Computer”, i.e., against decentralized Blockchains such as Ethereum, Binance Smart Chain, Ethereum Classic, Tron, and Avalanche – to mention just a few Blockchain infrastructures that support Solidity.

In particular, Solidity allows you to create smart contracts, i.e., pieces of code that automatically execute on specific conditions in a completely decentralized environment. For example, smart contracts empower you to create your own decentralized autonomous organizations (DAOs) that run on Blockchains without being subject to centralized control.

NFTs, DeFi, DAOs, and Blockchain-based games are all based on smart contracts.

This course is a simple, low-friction introduction to creating your first smart contract using the Remix IDE on the Ethereum testnet – without fluff, significant upfront costs to purchase ETH, or unnecessary complexity.




https://www.sickgaming.net/blog/2022/08/...ty-linter/
Reply





Users browsing this thread:
1 Guest(s)

𝚂̷𝚒̷𝚌̷𝚔̷𝙶̷𝚊̷𝚖̷𝚒̷𝚗̷𝚐̷ 𝙷̷𝚘̷𝚖̷𝚎̷

Copyright © SickGaming.net 2022