TheAlgorithms / TheAlgorithms/Dart
Add dart format on pre commit hook
Open
Nobody has claimed this yet.
- Dominant language
- Dart
- Stars
- 2.1k
- Forks
- 487
- PR merge metrics
- No merged PRs in 30d
Description
If the contributor misses out to do dart format. the complete build check fails. we can ensure we format the file before we commit. Adding a pre commit hook which would run dart format will be helpful.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No configuration file or test is named. Inspect the repository's existing commit-hook or contributor tooling first, then verify that the hook runs dart format before a commit and that the complete build check succeeds.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100