mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 04:34:25 +08:00
1. Add ale.setup and ale.setup.buffer for pure Lua configuration. 2. Update many global settings to use Booleans instead of numbers to make types easiert to work with in Lua. 3. Radically reformat documentation and fix errors to make documentation more usable for Neovim users.
59 lines
2.4 KiB
Plaintext
59 lines
2.4 KiB
Plaintext
===============================================================================
|
|
ALE Solidity Integration *ale-solidity-options*
|
|
|
|
|
|
===============================================================================
|
|
solc *ale-solidity-solc*
|
|
|
|
*ale-options.solidity_solc_executable*
|
|
*g:ale_solidity_solc_executable*
|
|
*b:ale_solidity_solc_executable*
|
|
solidity_solc_executable
|
|
g:ale_solidity_solc_executable
|
|
Type: |String|
|
|
Default: `'solc'`
|
|
|
|
Override the invoked solc binary. For truffle/hardhat binaries.
|
|
|
|
*ale-options.solidity_solc_options*
|
|
*g:ale_solidity_solc_options*
|
|
*b:ale_solidity_solc_options*
|
|
solidity_solc_options
|
|
g:ale_solidity_solc_options
|
|
Type: |String|
|
|
Default: `''`
|
|
|
|
This variable can be set to pass extra options to solc.
|
|
|
|
|
|
===============================================================================
|
|
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).
|
|
|
|
|
|
===============================================================================
|
|
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:
|