Logo fantomas

ConfigurationWarning Type

Record fields

Record Field Description

EditorConfigFiles

Full Usage: EditorConfigFiles

Field type: string array

Absolute paths of the `.editorconfig` files that contributed to the configuration. Empty when `Problems` is empty, and when no `.editorconfig` applies to `FilePath`: it is the same list on every request for a file, and there is nothing to do with it while nothing is wrong. Which of these a given problem came from is not knowable, and deliberately not guessed at: editorconfig merges the whole chain into one set of properties before Fantomas sees it.

Field type: string array

FilePath

Full Usage: FilePath

Field type: string

The file that was being formatted, echoed back from the request unchanged. Absolute, because `Fantomas.Client` rejects a relative path before sending the request.

Field type: string

Problems

Full Usage: Problems

Field type: ConfigurationProblem array

Empty when nothing is wrong, which clears anything reported for this file earlier.

Field type: ConfigurationProblem array

Version

Full Usage: Version

Field type: string

The Fantomas that raised this, in the shape `dotnet tool list` writes: no `Fantomas` in front, no leading `v`, no `+` on the end, such as `8.0.0-alpha-022`. Ready to put in front of a user, which is the one thing this is here for. Filled in by `Fantomas.Client` from the daemon that raised the warning, rather than sent by the daemon: that is what lets it name every Fantomas 8 daemon there already is rather than only the ones released after this. Talking to a daemon yourself, this arrives as `null` and you already know which version you started.

Field type: string

Type something to start searching.