An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

        

[![NPM version](https://img.shields.io/npm/v/resattributes.svg?style=flat)](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
```

![image](./attributes.png)

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)