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

Format generated boilerplate files for access modifiers on separate line #1388

Closed
chasefleming opened this issue Feb 7, 2024 · 0 comments · Fixed by #1389
Closed

Format generated boilerplate files for access modifiers on separate line #1388

chasefleming opened this issue Feb 7, 2024 · 0 comments · Fixed by #1389
Assignees
Labels
Improvement Technical work without new features, refactoring, improving tests

Comments

@chasefleming
Copy link
Member

chasefleming commented Feb 7, 2024

If you generate a boilerplate file like a script with flow generate script ... it will create a file like this;

access(all) fun main() {}

It seems the pattern everyone is following is not to have a line break like this:

access(all)
fun main() {}

Let's update the boilerplate for scripts and contracts to match this.

@chasefleming chasefleming added the Improvement Technical work without new features, refactoring, improving tests label Feb 7, 2024
@chasefleming chasefleming self-assigned this Feb 7, 2024
@chasefleming chasefleming changed the title Format generated boilerplate files differently Format generated boilerplate files for access modifiers on separate line Feb 7, 2024
@github-project-automation github-project-automation bot moved this to ✅ Done in 🌊 Flow 4D Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Improvement Technical work without new features, refactoring, improving tests
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant