Skip to content

Commit eb8cb32

Browse files
Adjust PR checklist formatter discussion (#8924)
Adds a link to the specific autoformatter command we expect contributors to run, since it's not currently very obvious in our docs. Also removes an obsolete reference to being different from flutter/flutter in autoformatting Dart, now that flutter/flutter does use the formatter.
1 parent 28676de commit eb8cb32

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
- [ ] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
88
- [ ] I read the [Tree Hygiene] page, which explains my responsibilities.
9-
- [ ] I read and followed the [relevant style guides] and ran the auto-formatter. (Unlike the flutter/flutter repo, the flutter/packages repo does use `dart format`.)
9+
- [ ] I read and followed the [relevant style guides] and ran [the auto-formatter].
1010
- [ ] I signed the [CLA].
1111
- [ ] The title of the PR starts with the name of the package surrounded by square brackets, e.g. `[shared_preferences]`
1212
- [ ] I [linked to at least one issue that this PR fixes] in the description above.
@@ -24,6 +24,7 @@ If you need help, consider asking for advice on the #hackers-new channel on [Dis
2424
[Contributor Guide]: https://github.com/flutter/packages/blob/main/CONTRIBUTING.md
2525
[Tree Hygiene]: https://github.com/flutter/flutter/blob/master/docs/contributing/Tree-hygiene.md
2626
[relevant style guides]: https://github.com/flutter/packages/blob/main/CONTRIBUTING.md#style
27+
[the auto-formatter]: https://github.com/flutter/packages/blob/main/script/tool/README.md#format-code
2728
[CLA]: https://cla.developers.google.com/
2829
[Discord]: https://github.com/flutter/flutter/blob/master/docs/contributing/Chat.md
2930
[linked to at least one issue that this PR fixes]: https://github.com/flutter/flutter/blob/master/docs/contributing/Tree-hygiene.md#overview

0 commit comments

Comments
 (0)