ExPaNDS-eu / ExPaNDS-experimental-techniques-ontology

EU Photon and Neutron Ontologies (task 3.2)
8 stars 4 forks source link

No protection in git from changes violating various file conventions #141

Closed paulmillar closed 2 weeks ago

paulmillar commented 1 month ago

We currently have no strong protection that a file is following certain convention; for example, text files could use DOS/Windows line-ending or Unix line ending.

It would be helpful if there were some guarantee that text files follow the desired scheme.

paulmillar commented 1 month ago

@gkoum mentioned (in this comment)

Could we use a .gitattributes as described here to handle such cases?

* text=auto
*.csv text eol=lf
*.txt text eol=lf