mapbox / mapbox/mapbox-gl-geocoder

add prettier as a precommit hook

Open
#205 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

auto-triaged enhancement
Dominant language
JavaScript
Stars
388
Forks
181
PR merge metrics
No merged PRs in 30d

Description

Mapbox frontend projects have been standardizing around [prettier](https://prettier.io/) for automated code formatting. This project would benefit prettier as it's code style is not consistent.

@scottsfarley93 / @katydecorah any objections to adding a prettier hook here?

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 file, test, or existing hook configuration is named. Start by locating the project's pre-commit setup and reviewing how JavaScript files are currently formatted. Done means the project has a documented Prettier pre-commit hook and the hook runs successfully on the relevant source files.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
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.