How to use the @fimbul/bifrost.wrapTslintFormatter function in @fimbul/bifrost

To help you get started, we’ve selected a few @fimbul/bifrost examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github fimbullinter / wotan / packages / valtyr / src / formatter-loader.ts View on Github external
function loadFormatter(name: string): FormatterConstructor | undefined {
    const result = TSLint.findFormatter(name);
    return result === undefined ? undefined : wrapTslintFormatter(result);
}
github fimbullinter / wotan / packages / heimdall / src / index.ts View on Github external
public loadCustomFormatter(name: string, basedir: string): FormatterConstructor | undefined {
        const result = super.loadCustomFormatter(name, basedir);
        if (result !== undefined)
            return result;
        const tslintFormatter = TSLint.findFormatter(name);
        return tslintFormatter && wrapTslintFormatter(tslintFormatter);
    }
}

@fimbul/bifrost

Compatibility layer for TSLint rules

Apache-2.0
Latest version published 3 years ago

Package Health Score

62 / 100
Full package analysis