mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 12:44:23 +08:00
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:
committed by
GitHub
parent
59e455b4d8
commit
64ddf457e1
@@ -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:
|
||||
|
||||
@@ -586,6 +586,7 @@ Notes:
|
||||
* SML
|
||||
* `smlnj`
|
||||
* Solidity
|
||||
* `forge`
|
||||
* `solc`
|
||||
* `solhint`
|
||||
* `solium`
|
||||
|
||||
@@ -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|
|
||||
|
||||
Reference in New Issue
Block a user