Skip to content

Keep generated file comments on the first line #760

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

natebosch
Copy link
Member

Let linquist continue to find the generated file marker on the first
line, the dart format width comment is allowed to be on any line.

Look for the generated file line exactly and when it starts the file
insert the dart format comment following it.

Let linquist continue to find the generated file marker on the first
line, the dart format width comment is allowed to be on any line.

Look for the generated file line exactly and when it starts the file
insert the dart format comment following it.
Copy link

Package publishing

Package Version Status Publish tag (post-merge)
package:source_gen 2.0.1-WIP ready to publish source_gen-v2.0.1-WIP

Documentation at https://github.com/dart-lang/ecosystem/wiki/Publishing-automation.

@marvin-kolja
Copy link

This could generally work, but I've seen many users who do not put the generated content line as the first line in their custom header :D

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.

2 participants