fix: correct CSS module import paths after file renames (Task 4.4)
- Fix incorrect relative paths in feature components after directory restructure
- Components in features/{domain}/ were importing ./features/{domain}/X.module.css
instead of ./X.module.css
- Affected: AppShell, GitToolbar, FileEditor, CommitDialog, CommitPanel,
MergeDialog, SettingsTabLayout, InstanceList, TerminalComponent
Quality gates: tsc (pass), eslint (pass), build (pass)
Refs: repo-restructure Task 4.4
This commit is contained in:
@@ -41,14 +41,10 @@ function checkFileSize(filePath, maxLines = 300) {
|
||||
const relative = path.relative(SRC_DIR, filePath);
|
||||
if (lines > maxLines) {
|
||||
if (OVERSIZE_ALLOWLIST.includes(relative)) {
|
||||
console.warn(
|
||||
`⚠️ OVERSIZED (${lines} lines, allowlisted): ${relative}`,
|
||||
);
|
||||
console.warn(`⚠️ OVERSIZED (${lines} lines, allowlisted): ${relative}`);
|
||||
warnings++;
|
||||
} else {
|
||||
console.error(
|
||||
`❌ OVERSIZED (${lines} lines): ${relative}`,
|
||||
);
|
||||
console.error(`❌ OVERSIZED (${lines} lines): ${relative}`);
|
||||
errors++;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user