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: Ensure copyright line is the first in the file #19608

Merged
merged 1 commit into from
Jun 26, 2023

Conversation

mmastrac
Copy link
Contributor

@mmastrac mmastrac commented Jun 25, 2023

The copyright checker was allowing files with code above the copyright line in a few places, mainly as a result of IDEs ordering imports improperly.

This makes the check more robust, and adds a whitelist of valid lines that may appear before the copyright line.

@mmastrac mmastrac requested a review from dsherret June 26, 2023 12:11
Copy link
Member

@dsherret dsherret left a comment

Choose a reason for hiding this comment

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

LGTM!

@mmastrac mmastrac merged commit fa935e5 into denoland:main Jun 26, 2023
10 checks passed
hardfist pushed a commit to hardfist/deno that referenced this pull request Aug 7, 2024
The copyright checker was allowing files with code above the copyright
line in a few places, mainly as a result of IDEs ordering imports
improperly.

This makes the check more robust, and adds a whitelist of valid lines
that may appear before the copyright line.
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.

None yet

2 participants