Be able to use a different locale for different directories #1415
godalming123
started this conversation in
Ideas
Replies: 1 comment
-
|
Yes, we only use the config in the root. We haven't planned for distinct config files but layered configs (parent config files get merged into nested config files) which is being tracked in #193.
Besides layered configs, you have a couple of options
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In my use case, I have some source code in typescript which defines an abstraction to create flashcards for the browser. The source code has to use some American spellings for things like CSS attributes (for example
color). I also have some flashcards in a subdirectory, which should only use British spellings. AFAIK, the best solution is to have a separatetypos.tomlfile in the flashcards subdirectory (like the one below), but then if you runtyposin the project root, it ignores this file, so you would have to create a config in the project root to stop typos from checking the flashcards directory and then a script to run typos for the project root and the flashcards directory.Beta Was this translation helpful? Give feedback.
All reactions