One single config file named
inlang.config.js needs to be created at the root of the repository.
If you don't use JSON in your project, check out all the other plugins we support.
Step-by-step for JSON files
Create a new file named
inlang.config.jsin the root of your git repository. Example:
Copie/paste the code below in the config and change the
pathPatterninto your directory structure.
Commit the config and open your project in the inlang editor
Adding typesafety to the config
Your codebase must use, or be able to use,
moduleResolution: "node16". Read #298 for more information.
@inlang/coreas dev dependency.
Add the following JSDoc comment above the
moduleResolution: node16to your