> **Can't find what you're looking for?** Use `search_docs` on the docs MCP server at `https://www.getfoundry.sh/api/mcp` to find what you need.
>
> **Have feedback?** Use `submit_feedback` on the same MCP server.

## Default foundry configuration

The defaults Foundry uses when `foundry.toml` sets nothing. Every key is commented out, because
setting a key to its default is not always the same as leaving it unset: for example, while
`invariant.corpus_random_sequence_weight` is unset, the last worker of a campaign with more than
two workers uses a weight of 50. Keys of a section, such as `[fuzz]`, can also be written under
`[profile.<name>.<section>]`. Keys without a default are omitted; see the
[reference](/config/reference/overview) for every key.

```toml
[profile.default]

# =============================================================================
# PROJECT
# =============================================================================

# Directory containing the project's contract sources, relative to the project root.
# src = "src"

# Directory containing the project's test contracts, relative to the project root.
# test = "test"

# Directory containing the project's Solidity scripts, relative to the project root.
# script = "script"

# Directory where compiled contract artifacts are written, relative to the project root.
# out = "out"

# Directories containing dependency libraries, relative to the project root.
# libs = ["lib"]

# Whether to cache compiler output so that unchanged sources are not recompiled.
# cache = true

# Directory for the compiler cache and other project caches, relative to the project root.
# cache_path = "cache"

# Directory where `forge script` writes broadcast transaction logs, relative to the project root.
# broadcast = "broadcast"

# Whether to delete all build artifacts and caches before compiling.
# force = false

# =============================================================================
# SOLIDITY COMPILER - GENERAL
# =============================================================================

# Import remappings used to resolve Solidity imports.
# remappings = []

# Whether to detect remappings automatically by scanning the `libs` directories.
# auto_detect_remappings = true

# Additional directories that solc may read sources from, passed to `solc --allow-paths`.
# allow_paths = []

# Additional source directories for import resolution, passed to `solc --include-path`.
# include_paths = []

# Addresses of already deployed Solidity libraries to link against.
# libraries = []

# Whether compiled contracts may depend on externally linked Solidity libraries.
# allow_linked_libraries = true

# Whether to detect the Solidity compiler versions to use from each file's `pragma solidity`.
# auto_detect_solc = true

# Whether to disallow network access for downloads and external lookups.
# offline = false

# Paths whose compiler warnings are silenced.
# ignored_warnings_from = []

# Solidity compiler warning codes to silence.
# ignored_error_codes = ["license", "code-size", "init-code-size", "transient-storage", "transfer-deprecated", "natspec-memory-safe-assembly-deprecated", "code-size-amsterdam", "init-code-size-amsterdam"]

# The EVM version to compile contracts for and, unless `hardfork` is set, to execute them with.
# evm_version = "osaka"

# Compiler output to write as separate files next to each contract's artifact.
# extra_output_files = []

# Additional compiler output to include in each contract's artifact.
# extra_output = []

# The hash of the contract metadata that solc appends to the bytecode.
# bytecode_hash = "ipfs"

# Whether to append the CBOR-encoded metadata trailer to the bytecode.
# cbor_metadata = true

# Has no effect; kept so that existing configuration files still load.
# sparse_mode = false

# External compiler adapters that build compiler-native EVM projects as part of the build.
# external_compilers = []

# =============================================================================
# SOLIDITY COMPILER - OPTIMIZER
# =============================================================================

# Whether to compile through the Yul intermediate representation (IR) pipeline.
# via_ir = false

# Whether to store the source code itself in the contract metadata instead of only references.
# use_literal_content = false

# =============================================================================
# SOLIDITY COMPILER - COMPILATION RESTRICTIONS
# =============================================================================

# Extra compiler settings profiles that sources can be compiled with besides the main settings.
# additional_compiler_profiles = []

# Restrictions on the compiler settings that matching source files may be compiled with.
# compilation_restrictions = []

# =============================================================================
# TESTING - GENERAL
# =============================================================================

# Default verbosity for test and script output, as if passed with `-v` flags.
# verbosity = 0

# Whether to allow the `vm.ffi` and `vm.tryFfi` cheatcodes to run external commands.
# ffi = false

# The address that deploys test contracts and calls test functions, and the default script sender.
# sender = "0x1804c8ab1f12e6bbf3894d4083f33e07309d1f38"

# The `tx.origin` value for EVM execution.
# tx_origin = "0x1804c8ab1f12e6bbf3894d4083f33e07309d1f38"

# The balance, in wei, given to each test contract and to the accounts that deploy and call it.
# initial_balance = "0xffffffffffffffffffffffff"

# The `block.number` value during local EVM execution.
# block_number = 1

# The gas limit for each top-level call in tests and scripts, also used as `block.gaslimit`.
# gas_limit = 1073741824

# The `block.basefee` value, in wei, during local EVM execution.
# block_base_fee_per_gas = 0

# The `block.coinbase` value during local EVM execution.
# block_coinbase = "0x0000000000000000000000000000000000000000"

# The `block.timestamp` value, in seconds, during local EVM execution.
# block_timestamp = 1

# The `block.difficulty` value during local EVM execution.
# block_difficulty = 0

# The contracts to include in gas reports generated by `forge test --gas-report`.
# gas_reports = ["*"]

# Whether to disable on-disk caching of fork state entirely.
# no_storage_caching = false

# Whether to prefetch remote fork state before the EVM reads it.
# fork_prefetch = false

# Chains whose fork state is cached.
# rpc_storage_caching.chains = "all"

# RPC endpoints whose fork state is cached.
# rpc_storage_caching.endpoints = "all"

# Whether `forge test` shows live progress for the run and each test suite while tests execute.
# show_progress = false

# The maximum memory, in bytes, that a single EVM execution may use.
# memory_limit = 134217728

# Whether `forge build` prints the names of the compiled contracts, grouped by compiler version.
# names = false

# Whether `forge build` prints the runtime and initcode sizes of the compiled contracts.
# sizes = false

# How many seconds `vm.prompt` and the related prompt cheatcodes wait for input before reverting.
# prompt_timeout = 120

# =============================================================================
# ADVANCED TESTING - MUTATION TESTING
# =============================================================================

# Directory where mutation testing caches mutants and results, so interrupted runs can resume.
# mutation_dir = "cache/mutation"

# =============================================================================
# BUILD, RUNTIME, AND RPC - BUILD AND PROJECT FIELDS
# =============================================================================

# Whether to compile tests and scripts with dynamic test linking.
# dynamic_test_linking = true

# Directory where gas snapshots recorded by the snapshot cheatcodes are stored.
# snapshots = "snapshots"

# Whether `forge test` fails when recorded gas snapshots differ from those stored in `snapshots`.
# gas_snapshot_check = false

# Whether `forge test` writes the gas snapshots recorded by cheatcodes to `snapshots`.
# gas_snapshot_emit = true

# Glob patterns of source files to leave out of the build.
# skip = []

# File where `forge test` records the tests that failed in the last run.
# test_failures_file = "cache/test-failures"

# The contracts to leave out of gas reports.
# gas_reports_ignore = []

# Whether gas reports include calls to test functions, such as `setUp` and `test*`.
# gas_reports_include_tests = false

# Whether to write build info files containing the complete compiler input and output.
# build_info = false

# =============================================================================
# BUILD, RUNTIME, AND RPC - COMPILER AND DIAGNOSTIC FIELDS
# =============================================================================

# Whether to include each source's AST as JSON in the compiler output and artifacts.
# ast = false

# Whether to generate code with solc's experimental SSA control-flow-graph backend.
# via_ssa_cfg = false

# Whether to enable solc's experimental mode, required for experimental compiler features.
# experimental = false

# Extra command-line arguments to pass to the solc binary.
# extra_args = []

# Solidity compiler warning codes to silence only in files under given paths.
# ignored_error_codes_from = []

# The lowest diagnostic level that makes a command fail.
# deny = "never"

# =============================================================================
# BUILD, RUNTIME, AND RPC - EVM EXECUTION FIELDS
# =============================================================================

# Whether to read fork state by block number instead of block hash.
# fork_state_by_number = false

# The `block.prevrandao` value during local EVM execution, as a 32-byte hex string.
# block_prevrandao = "0x0000000000000000000000000000000000000000000000000000000000000000"

# Whether to execute each top-level call made by a test or script as its own transaction.
# isolate = true

# Whether to skip the check that a transaction's gas limit fits within the block gas limit.
# disable_block_gas_limit = false

# Whether to enforce the per-transaction gas limit caps introduced in Osaka (EIP-7825) and Amsterdam (EIP-8037).
# enable_tx_gas_limit = false

# Whether to print `console.log` output while tests and scripts run instead of after they finish.
# live_logs = false

# Whether `vm.expectRevert` can be satisfied by a revert at the cheatcode's own call depth, such as one from an internal function.
# allow_internal_expect_revert = false

# Whether to route salted `CREATE2` deployments through the CREATE2 deployer in tests and non-broadcasting scripts too.
# always_use_create_2_factory = false

# How to estimate EIP-1559 fees for the transactions Foundry sends.
# eip1559_fee_estimate = "market"

# Whether a failed `vm.assert*` cheatcode assertion reverts.
# assertions_revert = true

# Whether to also call the test contract's `failed()` function to decide whether a test failed.
# legacy_assertions = false

# Whether to let `vm.getCode` and `vm.getDeployedCode` read artifacts the current build did not produce.
# unchecked_cheatcode_artifacts = false

# Whether to decode the storage of contracts outside the local project in state diffs, using the verified source a block explorer has for them.
# decode_external_storage = false

# The salt used to deploy linked libraries with CREATE2.
# create2_library_salt = "0x0000000000000000000000000000000000000000000000000000000000000000"

# The address of the CREATE2 deployer contract used for salted deployments and library linking.
# create2_deployer = "0x4e59b44847b379578588920ca78fbf26c0b4956c"

# How many seconds to wait for a sent transaction's receipt before giving up.
# transaction_timeout = 120

# Whether `forge script` guards against relying on the script contract's address and caller.
# script_execution_protection = true

# =============================================================================
# BUILD, RUNTIME, AND RPC - FILE-SYSTEM PERMISSIONS
# =============================================================================

# Which paths cheatcodes that read or write files, such as `vm.readFile`, may access.
# fs_permissions = [{ access = "read", path = "out" }]

# =============================================================================
# BUILD, RUNTIME, AND RPC - RPC FIELDS
# =============================================================================

# Whether to accept invalid TLS certificates from the RPC endpoint.
# eth_rpc_accept_invalid_certs = false

# Whether to disable automatic proxy detection for the RPC endpoint.
# eth_rpc_no_proxy = false

# Whether to print the equivalent `curl` command for each RPC request instead of sending it.
# eth_rpc_curl = false

# Whether to disable client-side rate limiting of fork RPC requests.
# no_rpc_rate_limit = false

# Whether to disable prewarming the fork cache from the parent block's access list (BAL) for forks created at a transaction hash.
# no_fork_bal = false

# =============================================================================
# TOOL-SPECIFIC CONFIGURATION - NETWORKS
# =============================================================================

# Enable Celo network features.
# celo = false

# Whether to bypass prevrandao.
# bypass_prevrandao = false

[fuzz]

# =============================================================================
# TESTING - FUZZ
# =============================================================================

# Number of fuzz runs (generated inputs) to execute for each fuzz test.
# runs = 256

# Whether a fuzz case fails when the test call reverts.
# fail_on_revert = true

# Maximum number of inputs rejected with `vm.assume` before the whole fuzz test fails.
# max_test_rejects = 65536

# Percentage (0 to 100) of fuzzed values drawn from the fuzz dictionary instead of generated at random.
# dictionary_weight = 40

# Whether to add the storage values of contracts touched during execution to the fuzz dictionary.
# include_storage = true

# Whether to add the constants pushed by contract bytecode (`PUSH` operands) and the contracts' addresses to the fuzz dictionary.
# include_push_bytes = true

# Whether invariant campaigns add the results of targeted contracts' view functions to the fuzz dictionary.
# include_view_values = false

# Maximum number of addresses kept in the fuzz dictionary.
# max_fuzz_dictionary_addresses = 15728640

# Maximum number of values kept in the fuzz dictionary.
# max_fuzz_dictionary_values = 9830400

# Maximum number of literal values from the source code (AST) seeded into the fuzz dictionary.
# max_fuzz_dictionary_literals = 6553600

# Number of fuzz runs whose traces are kept for the gas report.
# gas_report_samples = 256

# Whether corpus entries are written with gzip compression.
# corpus_gzip = true

# Number of times a corpus entry must be mutated before it may be evicted from memory.
# corpus_min_mutations = 5

# Number of corpus entries kept in memory without eviction.
# corpus_min_size = 0

# Whether to collect and display edge coverage metrics.
# show_edge_coverage = false

# Whether EVM edge coverage comes from compiler instrumentation instead of the `JUMP`/`JUMPI` edge inspector.
# instrumented_edges = false

# Directory where fuzz failures are recorded and replayed.
# failure_persist_dir = "cache/fuzz"

# Whether to show the `console.log` output of every fuzz run instead of only the last one.
# show_logs = false

# =============================================================================
# ADVANCED TESTING - FUZZ
# =============================================================================

# Maximum number of branch frontier records written for one test.
# frontier_limit = 256

# Whether EVM edge coverage gives every edge its own ID instead of hashing edges into a fixed map.
# evm_edge_coverage_collision_free = true

# Whether EVM edge coverage IDs include the call-frame depth.
# evm_edge_coverage_include_call_depth = false

# Whether to collect edge coverage from native Rust crates compiled with SanitizerCoverage instrumentation, such as precompile implementations.
# sancov_edges = false

# Whether to capture comparison operands from sancov-instrumented native crates and add them to the fuzz dictionary.
# sancov_trace_cmp = false

# Percent chance (0 to 100) of generating a fresh input instead of mutating a corpus entry in coverage-guided campaigns.
# corpus_random_sequence_weight = 10

# Percent chance (0 to 100) that a generated call to a payable function carries a non-zero `msg.value`.
# payable_value_weight = 0

# Relative weight of the coverage-guided mutation that splices two corpus sequences together.
# mutation_weight_splice = 1

# Relative weight of the coverage-guided mutation that repeats part of a corpus sequence.
# mutation_weight_repeat = 1

# Relative weight of the coverage-guided mutation that interleaves the calls of two corpus sequences.
# mutation_weight_interleave = 1

# Relative weight of the coverage-guided mutation that replaces the start of a corpus sequence with generated calls.
# mutation_weight_prefix = 1

# Relative weight of the coverage-guided mutation that replaces the end of a corpus sequence with generated calls.
# mutation_weight_suffix = 1

# Relative weight of the coverage-guided mutation that mutates call arguments based on their ABI types.
# mutation_weight_abi = 1

# Relative weight of the coverage-guided mutation that replaces call arguments with operands of comparisons seen during execution.
# mutation_weight_cmp = 1

[invariant]

# =============================================================================
# TESTING - INVARIANT
# =============================================================================

# Number of runs to execute for each invariant test group.
# runs = 256

# Number of calls executed in one run to try to break the invariants.
# depth = 500

# Whether a reverting handler call fails the invariant test.
# fail_on_revert = false

# Whether to inject reentrant calls into targeted contracts during invariant runs, to test for reentrancy.
# call_override = false

# Percentage (0 to 100) of fuzzed values drawn from the fuzz dictionary instead of generated at random.
# dictionary_weight = 80

# Whether to add the storage values of contracts touched during execution to the fuzz dictionary.
# include_storage = true

# Whether to add the constants pushed by contract bytecode (`PUSH` operands) and the contracts' addresses to the fuzz dictionary.
# include_push_bytes = true

# Whether invariant campaigns add the results of targeted contracts' view functions to the fuzz dictionary.
# include_view_values = false

# Maximum number of addresses kept in the fuzz dictionary.
# max_fuzz_dictionary_addresses = 15728640

# Maximum number of values kept in the fuzz dictionary.
# max_fuzz_dictionary_values = 9830400

# Maximum number of literal values from the source code (AST) seeded into the fuzz dictionary.
# max_fuzz_dictionary_literals = 6553600

# Maximum number of attempts to shrink a failing call sequence.
# shrink_run_limit = 5000

# Maximum number of `vm.assume` rejections allowed in a single invariant run before the test fails.
# max_assume_rejects = 65536

# Number of invariant runs whose traces are kept for the gas report.
# gas_report_samples = 256

# Whether corpus entries are written with gzip compression.
# corpus_gzip = true

# Number of times a corpus entry must be mutated before it may be evicted from memory.
# corpus_min_mutations = 5

# Number of corpus entries kept in memory without eviction.
# corpus_min_size = 0

# Whether to collect and display edge coverage metrics.
# show_edge_coverage = false

# Whether EVM edge coverage comes from compiler instrumentation instead of the `JUMP`/`JUMPI` edge inspector.
# instrumented_edges = false

# Directory where invariant failures are recorded and replayed.
# failure_persist_dir = "cache/invariant"

# Whether to collect and display per-selector metrics (calls, reverts and discards) in the test report.
# show_metrics = true

# Whether to display counterexamples as Solidity calls.
# show_solidity = false

# Number of calls to execute between invariant assertions.
# check_interval = 1

# =============================================================================
# ADVANCED TESTING - INVARIANT
# =============================================================================

# Minimum run depth when `depth_mode = "random"`.
# min_depth = 1

# How each invariant run chooses how many calls to execute.
# depth_mode = "fixed"

# Number of workers an invariant campaign is sharded across, or `"auto"`.
# workers = "auto"

# Maximum number of branch frontier records written for one test.
# frontier_limit = 256

# Whether EVM edge coverage gives every edge its own ID instead of hashing edges into a fixed map.
# evm_edge_coverage_collision_free = true

# Whether EVM edge coverage IDs include the call-frame depth.
# evm_edge_coverage_include_call_depth = false

# Whether to collect edge coverage from native Rust crates compiled with SanitizerCoverage instrumentation, such as precompile implementations.
# sancov_edges = false

# Whether to capture comparison operands from sancov-instrumented native crates and add them to the fuzz dictionary.
# sancov_trace_cmp = false

# Percent chance (0 to 100) of generating a fresh input instead of mutating a corpus entry in coverage-guided campaigns.
# corpus_random_sequence_weight = 10

# Percent chance (0 to 100) that a generated call to a payable function carries a non-zero `msg.value`.
# payable_value_weight = 15

# Relative weight of the coverage-guided mutation that splices two corpus sequences together.
# mutation_weight_splice = 1

# Relative weight of the coverage-guided mutation that repeats part of a corpus sequence.
# mutation_weight_repeat = 1

# Relative weight of the coverage-guided mutation that interleaves the calls of two corpus sequences.
# mutation_weight_interleave = 1

# Relative weight of the coverage-guided mutation that replaces the start of a corpus sequence with generated calls.
# mutation_weight_prefix = 1

# Relative weight of the coverage-guided mutation that replaces the end of a corpus sequence with generated calls.
# mutation_weight_suffix = 1

# Relative weight of the coverage-guided mutation that mutates call arguments based on their ABI types.
# mutation_weight_abi = 1

# Relative weight of the coverage-guided mutation that replaces call arguments with operands of comparisons seen during execution.
# mutation_weight_cmp = 1

[tracing]

# =============================================================================
# TRACING - FIELDS
# =============================================================================

# Minimum verbosity used when rendering traces.
# verbosity = 0

# Labels to display for addresses in decoded traces.
# labels = {}

# Whether to disable address labels in rendered traces.
# disable_labels = false

# Whether to hide an address in trace parameters when a label is available.
# compact_labels = false

# Whether to identify internal functions in traces and decode their stack parameters.
# decode_internal = false

# Cumulative time budget, in seconds, for identifying trace contracts through Sourcify and Etherscan.
# external_identification_timeout = 5

[symbolic]

# =============================================================================
# ADVANCED TESTING - SYMBOLIC TESTING
# =============================================================================

# Whether to run symbolic tests.
# enabled = false

# Whether to run fuzz tests symbolically and persist the concrete inputs found to the fuzz corpus.
# seed_corpus = false

# Whether to run fuzz tests symbolically, using existing fuzz corpus entries as path-priority hints.
# use_fuzz_corpus = false

# Maximum number of fuzz corpus entries to import for one symbolic test.
# corpus_seed_limit = 32

# Whether to solve for branches recorded in fuzz branch frontier artifacts and add the results to the corpus.
# use_fuzz_frontiers = false

# Whether invariant frontier seeding first checks if a selected call can break an invariant.
# check_invariant_frontiers = false

# Whether one bounded symbolic solver worker assists a running invariant campaign.
# live = false

# Maximum number of branch frontiers to import per symbolic run, or to submit per live campaign.
# frontier_limit = 256

# Fuzz branch frontier artifact IDs to import.
# frontier_ids = []

# Program counters of fuzz branch frontier comparisons to import.
# frontier_pcs = []

# Calldata selectors of fuzz branch frontiers to import.
# frontier_selectors = []

# SMT solver to invoke for symbolic tests.
# solver = "z3"

# Solver names or commands to race in parallel.
# solver_portfolio = []

# Solver timeout in seconds.
# timeout = 30

# Maximum number of opcodes to execute along one symbolic path.
# max_depth = 10000

# Maximum number of symbolic paths to explore per test.
# max_paths = 1024

# Maximum number of calls in a bounded symbolic invariant sequence.
# invariant_depth = 10

# Order in which pending symbolic paths are explored.
# exploration_order = "bfs"

# Maximum number of solver queries per symbolic test.
# max_solver_queries = 10000

# Length used for a dynamic ABI input when no other length setting applies.
# default_dynamic_length = 2

# Maximum length allowed for a symbolic dynamic ABI input.
# max_dynamic_length = 256

# Positional lengths for dynamic ABI inputs, applied in ABI traversal order.
# array_lengths = []

# Sets of lengths for dynamic ABI inputs, keyed by ABI argument name or generated symbolic name.
# dynamic_lengths = {}

# Set of lengths for dynamic ABI arrays without a `dynamic_lengths` entry.
# default_array_lengths = []

# Set of lengths for ABI `bytes` and `string` values without a `dynamic_lengths` entry.
# default_bytes_lengths = []

# Maximum size of symbolic calldata, in bytes.
# max_calldata_bytes = 4096

# Whether a symbolic call target may be an address other than a known contract.
# symbolic_call_targets = false

# Whether to print each SMT-LIB query to standard error before invoking the solver.
# dump_smt = false

# How symbolic tests model storage they have not written.
# storage_layout = "solidity"

[coverage]

# =============================================================================
# ADVANCED TESTING - COVERAGE
# =============================================================================

# Report kinds that `forge coverage` generates.
# report = ["summary"]

# Version of the LCOV tracefile format used by the `lcov` report.
# lcov_version = "1.0.0"

# Whether to compile with `viaIR` and minimum optimization, as a workaround for "stack too deep" errors.
# ir_minimum = false

# Whether to keep the project's optimizer and `viaIR` settings instead of disabling them.
# keep_optimizer = false

# Whether to include dependency sources in the coverage report.
# include_libs = false

# Whether to exclude test sources from the coverage report.
# exclude_tests = false

# Glob patterns of source files to exclude from the coverage report.
# skip_files = []

[mutation]

# =============================================================================
# ADVANCED TESTING - MUTATION TESTING
# =============================================================================

# Mutation operators to enable even when they are excluded.
# include_operators = []

# Mutation operators to disable.
# exclude_operators = []

[bind_json]

# =============================================================================
# TOOL-SPECIFIC CONFIGURATION - JSON BINDINGS
# =============================================================================

# Solidity file that `forge bind-json` writes the generated bindings to.
# out = "utils/JsonBindings.sol"

# Glob patterns of the source files whose structs get bindings.
# include = []

# Glob patterns of source files whose structs get no bindings.
# exclude = []

[fmt]

# =============================================================================
# FORMATTER
# =============================================================================

# Maximum line length where the formatter will try to wrap the line.
# line_length = 120

# Number of spaces per indentation level.
# tab_width = 4

# Indentation style.
# style = "space"

# Whether to print spaces between brackets.
# bracket_spacing = false

# Style of `uint256`/`int256` types.
# int_types = "long"

# Style of a function header that doesn't fit on one line.
# multiline_func_header = "attributes_first"

# Style of quotation marks around string literals.
# quote_style = "double"

# Style of underscores in number literals.
# number_underscore = "preserve"

# Style of underscores in hex string literals (`hex"..."`).
# hex_underscore = "remove"

# Style of single-line blocks in statements.
# single_line_statement_blocks = "preserve"

# Whether to print a space in the `override` attribute of state variables, functions and modifiers.
# override_spacing = false

# Whether to wrap comments that exceed `line_length`.
# wrap_comments = false

# Style of doc comments.
# docs_style = "preserve"

# Glob patterns of files to skip when formatting.
# ignore = []

# Whether to add an empty line at the start and end of contract bodies.
# contract_new_lines = false

# Whether to sort import statements alphabetically by path within their groups.
# sort_imports = false

# Style of imports that bring a whole file into a namespace.
# namespace_import_style = "prefer_plain"

# Whether to remove the spaces around the power operator (`**`).
# pow_no_space = false

# Which lists keep their elements together on their own line before breaking each element onto its own line.
# prefer_compact = "all"

# Whether to keep an import of a single name on one line even if it exceeds `line_length`.
# single_line_imports = false

[lint]

# =============================================================================
# LINTER CONFIGURATION
# =============================================================================

# Severities of the lints to run.
# severity = ["high", "medium", "low"]

# IDs of lints to skip, such as `"mixed-case-function"`.
# exclude_lints = []

# Glob patterns of files to skip when linting.
# ignore = []

# Whether to run the linter during `forge build`.
# lint_on_build = true

# Name fragments, usually acronyms, that the `mixedCase` and `PascalCase` lints accept.
# lint_specific.mixed_case_exceptions = ["ERC", "URI", "ID", "URL", "API", "JSON", "XML", "HTML", "HTTP", "HTTPS"]

# Contract kinds that the `multi-contract-file` lint ignores when a file declares more than one.
# lint_specific.multi_contract_file_exceptions = []

[doc]

# =============================================================================
# DOCUMENTATION GENERATOR
# =============================================================================

# Directory where `forge doc` writes the generated documentation site.
# out = "docs"

# Title of the generated documentation.
# title = ""

# Legacy setting kept for compatibility; `forge doc` no longer reads it.
# book = "book.toml"

# Markdown file used as the documentation homepage.
# homepage = "README.md"

# Glob patterns of files to leave out of the generated documentation.
# ignore = []
```
