You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Extending on #167, in addition to handling renames, it would be very nice to allow managed deprecation of target names. e.g.
targets:
- output: footemplate: bar/foo.jj2deprecated_output_names: bar # will be used if present, with warningremoved_output_names: baz # will be deleted if present
The other half of this would be foo.jj2
{%if__target__ == 'foo'%}
// emit new format
{%else%}
// emit old format
{%endif%}
e.g. this could be used to manage the transition from .eslint.json to .eslint.yaml, allowing managed repos to not immediately switch formats, which may be necessary because they find bugs in the new template, or that the generated output file has a negative effect.
The text was updated successfully, but these errors were encountered:
Extending on #167, in addition to handling renames, it would be very nice to allow managed deprecation of target names. e.g.
The other half of this would be
foo.jj2
e.g. this could be used to manage the transition from
.eslint.json
to.eslint.yaml
, allowing managed repos to not immediately switch formats, which may be necessary because they find bugs in the new template, or that the generated output file has a negative effect.The text was updated successfully, but these errors were encountered: