Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unified config object with type information #87

Open
silvester-pari opened this issue Feb 11, 2025 · 0 comments
Open

Unified config object with type information #87

silvester-pari opened this issue Feb 11, 2025 · 0 comments

Comments

@silvester-pari
Copy link
Collaborator

Currently we use lots of separate config objects in globalThis, which makes it hard to provide the developer guidance/feedback about the possible options. It would probably be better to pass along a single object containing all the config, and offer some type information/autocomplete for that:

/**
* @type {GitClerkConfig}
**/
globalThis.gitClerkConfig = {
  ghConfig,
  schemaMap,
  automation,
  customEditorInterfaces,
  generateEnums,
  ...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant