putout-plugin-taotie-remove-static-toggles
v1.1.0
Published
🐊 Putout plugin for removing static based feature toggles
Downloads
1
Maintainers
Readme
plugin-taotie-remove-static-toggles
🐊 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