Feature: add forge fmt as a fixer for Solidity files (#4598)

* feat: add `forge fmt` as a fixer for Solidity
This commit is contained in:
Henrique Barcelos
2023-09-05 19:34:39 +02:00
committed by GitHub
parent 59e455b4d8
commit 64ddf457e1
7 changed files with 43 additions and 0 deletions

View File

@@ -36,6 +36,15 @@ solium *ale-solidity-solium*
See the corresponding solium usage for detailed instructions
(https://github.com/duaraghav8/Solium#usage).
===============================================================================
forge *ale-solidity-forge*
`forge fmt` is not a linter, only a formatter. It should be used only as a
fixer.
`forge fmt` should work out-of-the-box. You can further configure it using
`foundry.toml`. See the corresponding documentation for detailed
instructions (https://book.getfoundry.sh/reference/config/formatter).
===============================================================================
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:

View File

@@ -586,6 +586,7 @@ Notes:
* SML
* `smlnj`
* Solidity
* `forge`
* `solc`
* `solhint`
* `solium`

View File

@@ -3326,6 +3326,7 @@ documented in additional help files.
solc..................................|ale-solidity-solc|
solhint...............................|ale-solidity-solhint|
solium................................|ale-solidity-solium|
forge.................................|ale-solidity-forge|
spec....................................|ale-spec-options|
rpmlint...............................|ale-spec-rpmlint|
sql.....................................|ale-sql-options|