Configuration Reference

Every falcon.json key, its type, default, and accepted values — generated from the config schema. For task-oriented setup, see the Configuration guide.

$schema

$schemastring

URL of the falcon.json JSON Schema, enabling rule autocomplete and level validation in editors.

cross-file

cross-file.enabledboolean

Master switch for cross-file analysis. Set to false to disable all cross-file rules. Defaults to true.

default: true
cross-file.rules.<group>.<rule>rule level (or object with level + options)

A rule's configuration: either a bare severity level, or an object with a `level` and rule-specific `options`.

values: off | on | info | warn | errorbrowse rule ids →

files

files.includesstring[]

Glob patterns for the files falcon analyzes. When omitted, every Dart file under the working directory is analyzed.

linter

linter.domains.flutterstring

Activation level for the `flutter` domain's rules: `all` enables every rule in the domain, `recommended` only its recommended rules, `none` disables them.

values: all | recommended | none
linter.enabledboolean

Master switch for the single-file linter. Set to false to disable all file rules. Defaults to true.

default: true
linter.rules.<group>.<rule>rule level (or object with level + options)

A rule's configuration: either a bare severity level, or an object with a `level` and rule-specific `options`.

values: off | on | info | warn | errorbrowse rule ids →

max-errors

max-errorsinteger | null

Stop after emitting this many diagnostics. Null (the default) means no limit.

default: null

overrides

overrides[].cross-file.enabledboolean

Master switch for cross-file analysis within this override.

overrides[].cross-file.rules.<group>.<rule>rule level (or object with level + options)

A rule's configuration: either a bare severity level, or an object with a `level` and rule-specific `options`.

values: off | on | info | warn | errorbrowse rule ids →
overrides[].includesstring[]

Glob patterns selecting the files this override applies to.

overrides[].linter.enabledboolean

Master switch for the single-file linter within this override.

overrides[].linter.rules.<group>.<rule>rule level (or object with level + options)

A rule's configuration: either a bare severity level, or an object with a `level` and rule-specific `options`.

values: off | on | info | warn | errorbrowse rule ids →