diff --git a/.gitattributes b/.gitattributes index af827e336..9463b431f 100644 --- a/.gitattributes +++ b/.gitattributes @@ -4,3 +4,7 @@ # The `eol=lf` sets the conversion to an LF line ending # https://git-scm.com/docs/gitattributes * text=auto eol=lf + +# Adds syntax highlighting to Graphite files on GitHub and minimizes diffs both locally and on GitHub +*.graphite binary linguist-generated linguist-language=JSON +/node-graph/graphene-cli/test_files/*.graphite text diff -linguist-generated