https://github.com/idkjs/resattributes
Quickly add reasonml and rescript attributes to your project
https://github.com/idkjs/resattributes
Last synced: 3 months ago
JSON representation
Quickly add reasonml and rescript attributes to your project
- Host: GitHub
- URL: https://github.com/idkjs/resattributes
- Owner: idkjs
- License: mit
- Created: 2020-11-19T16:23:44.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-12-28T22:57:35.000Z (over 4 years ago)
- Last Synced: 2025-03-26T16:02:14.461Z (3 months ago)
- Language: Shell
- Size: 98.6 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://www.npmjs.com/package/resattributes)
# [resattributes](https://git.io/resattributes)
Generates or appends [ReasonML](https://git.io/reasonml) and [Rescript](https://rescript-lang.org/) `.gitattributes`.
```sh
npx resattributes
```Gets you:
```sh
# 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
```
See also:
[bsconfig.json](https://git.io/bsconfig.json)
[resgitignore](https://github.com/idkjs/resgitignore)
[mlxre](https://github.com/idkjs/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](https://github.com/benawad/tsconfig.json)[Share on Twitter...](https://twitter.com/share?text=Quickly+add+reasonml+and+rescript+attributes+to+your+project+https://github.com/idkjs/resattributes)