TheAlgorithms / TheAlgorithms/Dart

Add dart format on pre commit hook

Open
#190 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.