google / addlicense

A program which ensures source code files have copyright license headers by scanning directory patterns recursively
Apache License 2.0
724 stars 169 forks source link

Add `.graphql` support #111

Open SleepySquash opened 2 years ago

SleepySquash commented 2 years ago

This PR adds support for .graphql files.

As stated, GraphQL files support # comments, so this PR just adds .graphql to the already existing list of files that use this type of comments.

This is my first time writing a Golang code, it is not tested. However, it seems straightforward, so I'm sure it works.

CLA is signed.