Credo.Plugin.register_default_config

You're seeing just the function register_default_config, go back to Credo.Plugin module for more information.
Link to this function

register_default_config(exec, config_file_string)

View Source

Registers the contents of a config file.

This registers the contents of a config file as default config, loading it after Credo's own default config but before the config files loaded from the current working directory.

defmodule CredoDemoPlugin do
  @config_file File.read!(".credo.exs")

  import Credo.Plugin

  def init(exec) do
    register_default_config(exec, @config_file)
  end
end