dprint_core

Module configuration

source

Structs§

Enums§

Constants§

Functions§

  • If the provided key exists, takes its value from the provided config and returns it. If the provided key does not exist, it returns None. Adds a diagnostic if there is any problem deserializing the value.
  • Gets a diagnostic for each remaining key value pair in the hash map.
  • If the provided key exists, takes its value from the provided config and returns it. If the provided key does not exist, it returns the default value. Adds a diagnostic if there is any problem deserializing the value.
  • If it exists, moves over the configuration value over from the old key to the new key and adds a diagnostic.
  • Resolves a collection of key value pairs to a GlobalConfiguration.
  • Resolves the NewLineKind text from the provided file text and NewLineKind.

Type Aliases§