Skip to content

Decluttering of Config Files #1

Description

@akoenig

Super helpful tool. Thanks for building and sharing it with the world.

I had this addition in my mind where genie could also help in decluttering the config file mess we have in modern projects.

I thought about an approach where a .genie directory could live in the root of the repository and contain the config files that genie uses to render the files into the respective packages. genie could follow a similar approach to what stow does.

Example:

.genie/
  packages/
    pkg-a/
      package.json.genie.ts
      .eslintrc.js.genie.ts
    pkg-b/
      biome.json.genie.ts

This would lead to files being rendered into:

packages/
  pkg-a/
    package.json
    .eslintrc.js
  pkg-b/
    biome.json

This could really declutter the overall codebase when combined with the VS Code settings (settings.json) for excluding files:

"files.exclude": {
    "**/.*": true,
    "**/biome.json",
    "**/package.json"
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions