Design configuration files with clear separation of responsibilities and maintain flexibility for future changes. Avoid unnecessarily bundling configurations together when they serve different purposes, as this can create tight coupling and make future transitions difficult.
Design configuration files with clear separation of responsibilities and maintain flexibility for future changes. Avoid unnecessarily bundling configurations together when they serve different purposes, as this can create tight coupling and make future transitions difficult.
For tool-specific configurations (like babel, webpack, etc.), keep them in their dedicated files rather than abstracting them in framework plugins. This allows users to:
When creating configuration patterns (like in renovate.json5, .gitignore, etc.), be as specific as possible when targeting special cases:
// Instead of broad patterns like this:
{
"fileMatch": ["\\.[mc]?[tj]sx?$"]
}
// Use specific targeting when appropriate:
{
"fileMatch": ["packages\/create-vite\/src\/index\\.ts$"]
}
This approach reduces the risk of unintended matches and makes configurations more maintainable and transparent.
Enter the URL of a public GitHub repository