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

Support --config (custom config filepath) #19

Closed
chrisgrieser opened this issue Nov 23, 2023 · 3 comments · Fixed by #21
Closed

Support --config (custom config filepath) #19

chrisgrieser opened this issue Nov 23, 2023 · 3 comments · Fixed by #21

Comments

@chrisgrieser
Copy link

The typos cli supports --config to use a specific config file. Having such an option also for the LSP could be quite useful as well?

@tekumara
Copy link
Owner

Great idea!

@dsully
Copy link

dsully commented Nov 28, 2023

+1 - would love to be able to set this globally for projects that don't have a config.

@tekumara
Copy link
Owner

tekumara commented Dec 4, 2023

@dsully I can make this work the same as typos --config ie:

  • when a project doesn't have a config, use the custom config file
  • when a project has a config, merge the custom config file with the project's config. The custom config takes precedence when a setting is declared in both (ie: as per reference.md)

tekumara pushed a commit that referenced this issue Dec 10, 2023
🤖 I have created a release *beep* *boop*
---


##
[0.1.8](v0.1.7...v0.1.8)
(2023-12-10)


### Features

* support custom config file
([67886b9](67886b9)),
closes [#19](#19)
* typos 1.16.23
([ae1d36c](ae1d36c))
* typos 1.16.24
([3006f24](3006f24))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: potatobot-prime[bot] <132267321+potatobot-prime[bot]@users.noreply.github.com>
This was referenced Mar 26, 2024
This was referenced Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants