How to use the @textlint/feature-flag.coreFlags.runningTester function in @textlint/feature-flag

To help you get started, we’ve selected a few @textlint/feature-flag 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 textlint / textlint / packages / textlint-tester / src / textlint-tester.ts View on Github external
constructor() {
        if (typeof coreFlags === "object") {
            coreFlags.runningTester = true;
        }
    }

@textlint/feature-flag

textlint internal feature flag manager.

MIT
Latest version published 5 months ago

Package Health Score

83 / 100
Full package analysis