2018-03-31 10:55:20 -04:00
|
|
|
===============================================================================
|
|
|
|
ALE Solidity Integration *ale-solidity-options*
|
|
|
|
|
|
|
|
|
2019-11-16 10:28:42 -05:00
|
|
|
===============================================================================
|
|
|
|
solc *ale-solidity-solc*
|
|
|
|
|
2021-07-04 16:47:44 -04:00
|
|
|
g:ale_solidity_solc_executable *g:ale_solidity_solc_executable*
|
|
|
|
*b:ale_solidity_solc_executable*
|
|
|
|
Type: |String|
|
|
|
|
Default: `'solc'`
|
|
|
|
|
|
|
|
Override the invoked solc binary. For truffle/hardhat binaries.
|
2019-11-16 10:28:42 -05:00
|
|
|
|
|
|
|
g:ale_solidity_solc_options *g:ale_solidity_solc_options*
|
|
|
|
*b:ale_solidity_solc_options*
|
|
|
|
Type: |String|
|
|
|
|
Default: `''`
|
|
|
|
|
|
|
|
This variable can be set to pass extra options to solc.
|
|
|
|
|
|
|
|
|
2018-03-31 10:55:20 -04:00
|
|
|
===============================================================================
|
|
|
|
solhint *ale-solidity-solhint*
|
|
|
|
|
|
|
|
Solhint should work out-of-the-box. You can further configure it using a
|
|
|
|
`.solihint.json` file. See https://github.com/protofire/solhint for more
|
|
|
|
information.
|
|
|
|
|
|
|
|
|
|
|
|
===============================================================================
|
|
|
|
solium *ale-solidity-solium*
|
|
|
|
|
|
|
|
Use of Solium linter for Solidity source code requires a .soliumrc.json
|
|
|
|
file in project root. This file can be generated by running `solium --init`.
|
|
|
|
See the corresponding solium usage for detailed instructions
|
|
|
|
(https://github.com/duaraghav8/Solium#usage).
|
|
|
|
|
2024-01-07 10:14:20 -05:00
|
|
|
===============================================================================
|
|
|
|
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).
|
2018-03-31 10:55:20 -04:00
|
|
|
|
|
|
|
===============================================================================
|
|
|
|
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|