json-schema-to-typescript
json-schema-to-typescript copied to clipboard
Add /* prettier-ignore */ to the default banner
By analogy with #195 Pull Request
Looks good to me! Since most Node.js files are written in JavaScript I would (and have locally) add a eslint disable flag as well.
/* eslint-disable */
@bcherny Yes, but as I see it there are three options:
- Use the formatting rules from the consumers prettier config (where they can also specify ignores)
- Ignore all formatting all together
- Apply the banners after all other formatting is done
I like the third option so this tool can have decent defaults but exclude it from formatting and style checks on the consumer end.