TrueBitFoundation / dispute-resolution-layer

[DEPRECATED] Generic dispute resolution layer for Truebit verification games
MIT License
6 stars 10 forks source link

Adding in .gitattributes file for syntax #5

Closed rbharath closed 6 years ago

rbharath commented 6 years ago

One more syntax PR :)

The solidity contracts in the dispute-resolution-layer repo currently don't have syntax highlighting. Github recently added support for solidity syntax highlighting, but due to name conflicts, requires each repo which wants such highlighting to add in a special .gitattributes file. This PR adds this file to the repo.

Contracts look very nice with highlighting turned on (for example, see https://github.com/datamined/contracts/blob/master/contracts/DataCoin.sol), so I think it will make the contracts here more readable.

hswick commented 6 years ago

Thanks @rbharath!