putout-plugin-taotie-remove-static-toggles

1.1.0Β β€’Β PublicΒ β€’Β Published

🐊 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

Package Sidebar

Install

npm i putout-plugin-taotie-remove-static-toggles

Weekly Downloads

1

Version

1.1.0

License

MIT

Unpacked Size

4.39 kB

Total Files

4

Last publish

Collaborators

  • murshidazher