Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: improve license header checks @W-14846456 #3951

Merged
merged 12 commits into from
Jan 22, 2024

Conversation

wjhsf
Copy link
Contributor

@wjhsf wjhsf commented Jan 18, 2024

Details

In #3949 I changed the headers. That didn't fail until CI, even though it's a trivial check to run locally. So I updated lint-staged to run that check on commit. I also added a new eslint header rule that automatically adds the header, when missing, so that we have to think about it even less!

Does this pull request introduce a breaking change?

  • ✅ No, it does not introduce a breaking change.

Does this pull request introduce an observable change?

  • ✅ No, it does not introduce an observable change.

GUS work item

W-14846456

@wjhsf wjhsf requested a review from a team as a code owner January 18, 2024 17:06
.eslintrc Outdated Show resolved Hide resolved
.eslintrc Outdated Show resolved Hide resolved
Copy link
Collaborator

@nolanlawson nolanlawson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are a few unrelated files here where whitespace changes were made unnecessarily. Let's fix that, and then this LGTM.

Headers are enforced for JS/TS files using eslint.

Other file types don't need enforcement.
package.json Outdated Show resolved Hide resolved
@wjhsf wjhsf merged commit ebc8c32 into master Jan 22, 2024
9 checks passed
@wjhsf wjhsf deleted the wjh/better-check-license-headers branch January 22, 2024 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants