1.1.0 • Published 12 months ago

putout-plugin-taotie-remove-static-toggles v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

plugin-taotie-remove-static-toggles Package version NPM version

🐊 Putout plugin for removing simple static file based feature toggles

Taotie Proof of concept plugin for static toggles removal.

Installation

Install static toggle removal plugin putout-plugin-taotie-remove-static-toggles:

yarn add -D putout-plugin-taotie-remove-static-toggles

Usage

Specify the toggle name when running plugins TAOTIE_FEATURE_TOGGLE_NAME

Development

Run the following to test with the test/fixtures,

TAOTIE_FEATURE_TOGGLE_NAME="featureFlag" putout test/fixtures/remove-simple-if-flags.ts --rulesdir packages/plugin-taotie-remove-static-toggles/lib --fix