• Get a js-beautify option object extracted from editorconfig files.

    There is an extra trick: options objects for a specific suffix are cached internally; this avoids fetching data from the disc several times. (In reality, because these are tiny files, the difference is minor, so it may be unnecessary, but it just hurts my feeling to do it otherwise😀.)

    This method is general; at the moment, it is invoked with the following suffixes: html, ttl, jsonld, and yamlld.

    Parameters

    • suffix: string

    Returns ConfigOptions