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

[Enhancement]: Create common configurations #1

Open
4 tasks
jonbarrow opened this issue Dec 29, 2024 · 0 comments
Open
4 tasks

[Enhancement]: Create common configurations #1

jonbarrow opened this issue Dec 29, 2024 · 0 comments
Labels
approved The topic is approved by a developer enhancement An update to an existing part of the codebase

Comments

@jonbarrow
Copy link
Member

Create common configurations that can be reused between all repositories. Currently each repository defines it's own configurations for stuff like eslint, TypeScript, etc. This can lead to inconsistent development experiences between projects. If a project needs something specific, they should either modify the common one or create it from scratch. But sets of common configurations should also be available.

We should add configurations for at least the following tools:

However I am open to more, if they are useful. Some examples may be:

  • .prettierrc https://prettier.io. This can be maybe useful? I dislike prettier simply because I prefer eslint to actually show errors, rather than hide them. It's also a very opinionated tool with little room to configure, and some of its defaults break our eslint config
  • .vscode/settings.json. This would only really be useful for VS Code users however
  • Replacing our existing config parser in our TypeScript projects with some thing like https://neatojs.com/docs/config? Though I'm not sure. That config tool is nice but I'm not sure if the use of double underscores would be intuitive or not, and I'm not sure how we can handle cases where a setting is optional and has a default value? Going to ping @mrjvs for input since he made this
@jonbarrow jonbarrow converted this from a draft issue Dec 29, 2024
@jonbarrow jonbarrow added approved The topic is approved by a developer enhancement An update to an existing part of the codebase labels Dec 29, 2024
@jonbarrow jonbarrow changed the title Create common configurations [Enhancement]: Create common configurations Dec 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved The topic is approved by a developer enhancement An update to an existing part of the codebase
Projects
Status: Todo
Development

No branches or pull requests

1 participant