Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Additional Config File Options

Open
#499 2 comments 6 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

  • #555 by @matbrgz — closed without merging

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
68/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
javascript
Domain
cli

Research direction

Start at the CLI's existing config-file discovery entry point and trace how the current .all-contributorsrc path is selected. Check nearby tests and configuration documentation, then verify that the three proposed paths are supported in the stated priority order and that the recommended filename is documented.

Written by the indexing model from the issue text.

Description

Is your feature request related to a problem? Please describe.
I believe there are several issues with the current standard of the config file being .all-contributorsrc in the root of the repo:

  1. Lack of extension makes the format ambiguous to some editors
  2. Config files in the root clutter things up and make the repo less readable, in my opinion

Describe the solution you'd like
I would propose supporting the following configs, with the CLI using the first one detected:

  • .all-contributors.json
    • This could potentially become the new standard recommended in the docs, also?
  • .config/all-contributors.json
  • .all-contributorsrc

Describe alternatives you've considered
Question not applicable.

Additional context
Adding support for .config directory is inspired by https://github.com/pi0/config-dir, a growing movement to try and organize config files in a set directory rather than the repo's root.

Additionally, I would be happy to contribute a PR for this is there is interest from the maintainers.

Thanks!

Dominant language
JavaScript
Stars
424
Forks
151
Avg merge
2d 1h
Merged PRs (30d)
15

Getting set up

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.

More from all-contributors/cli

All issues in all-contributors/cli

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.