havardh / javaflow

Java model to flowtype converter
22 stars 5 forks source link

Add configuration for adding prelude comments to output #31

Closed havardh closed 6 years ago

havardh commented 7 years ago

This issue is motivated by the need to insert /* eslint-disable no-use-before-define */. This rule is violated as the types are sorted in the output.

relekang commented 7 years ago

Maybe also have a default comment something like:

/*
 * This file is generated by https://github.com/havardh/javaflow.
 * Any changes to this file will probably be overwritten by javaflow.
 */
havardh commented 6 years ago

Resolved by the comment prefixer