idkjs · GitHub

NPM version

Generates or appends ReasonML and Rescript .gitattributes.

npx resattributes

Gets you:

# Tell github that .re and .rei files are Reason, sometimes recognized as C/C++
*.re linguist-language=Reason
*.rei linguist-language=Reason
*.res linguist-language=ReScript
*.resi linguist-language=ReScript

image

See also:

bsconfig.json

resgitignore

mlxre

[Share on Twitter...](https://twitter.com/share?text=Quickly+generate+a+bsconfig.json+file+ for+reasonml+and+rescript+projects!+https://github.com/idkjs/bsconfig.json) Inspired by benawad/tsconfig.json

Share on Twitter...

Read the original on github.com ↗