From 4fa8d0a1695b8f1b87fef0c44c36dc51def85cac Mon Sep 17 00:00:00 2001 From: Gergo Magyar Date: Fri, 29 May 2026 20:49:03 +0000 Subject: [PATCH] style(csharp): apply prettier to #1881 files to clear quality/format gate (#1908) Reflow hand-wrapped lines in scope-resolver.ts and the csharp integration test that prettier collapses under printWidth 100. Formatting only, no behavioral change; clears the failing quality/format CI gate. --- .../languages/csharp/scope-resolver.ts | 5 +---- .../test/integration/resolvers/csharp.test.ts | 17 +++++------------ 2 files changed, 6 insertions(+), 16 deletions(-) diff --git a/gitnexus/src/core/ingestion/languages/csharp/scope-resolver.ts b/gitnexus/src/core/ingestion/languages/csharp/scope-resolver.ts index 178f4ec92..0642b6f91 100644 --- a/gitnexus/src/core/ingestion/languages/csharp/scope-resolver.ts +++ b/gitnexus/src/core/ingestion/languages/csharp/scope-resolver.ts @@ -19,10 +19,7 @@ import { type CsharpResolveContext, } from './index.js'; import { populateCsharpNamespaceSiblings } from './namespace-siblings.js'; -import { - loadCsharpResolutionConfig, - type CsharpResolutionConfig, -} from './resolution-config.js'; +import { loadCsharpResolutionConfig, type CsharpResolutionConfig } from './resolution-config.js'; import { unwrapCsharpCollectionAccessor } from './accessor-unwrap.js'; const csharpScopeResolver: ScopeResolver = { diff --git a/gitnexus/test/integration/resolvers/csharp.test.ts b/gitnexus/test/integration/resolvers/csharp.test.ts index 1f2fabacb..5e15ce5fa 100644 --- a/gitnexus/test/integration/resolvers/csharp.test.ts +++ b/gitnexus/test/integration/resolvers/csharp.test.ts @@ -2613,18 +2613,14 @@ describe('C# spurious import edges (#1881)', () => { let result: PipelineResult; beforeAll(async () => { - result = await runPipelineFromRepo( - path.join(FIXTURES, 'csharp-spurious-edges'), - () => {}, - ); + result = await runPipelineFromRepo(path.join(FIXTURES, 'csharp-spurious-edges'), () => {}); }, 60000); it('does not emit IMPORTS from System.Threading.Tasks to a local Tasks.cs', () => { const imports = getRelationships(result, 'IMPORTS'); const spurious = imports.find( (e) => - e.sourceFilePath === 'Services/OrderService.cs' && - e.targetFilePath === 'Legacy/Tasks.cs', + e.sourceFilePath === 'Services/OrderService.cs' && e.targetFilePath === 'Legacy/Tasks.cs', ); expect(spurious).toBeUndefined(); }); @@ -2636,8 +2632,7 @@ describe('C# spurious import edges (#1881)', () => { expect(imports.length).toBeGreaterThan(0); const legit = imports.find( (e) => - e.sourceFilePath === 'Services/OrderService.cs' && - e.targetFilePath === 'Models/User.cs', + e.sourceFilePath === 'Services/OrderService.cs' && e.targetFilePath === 'Models/User.cs', ); expect(legit).toBeDefined(); }); @@ -2666,8 +2661,7 @@ describe('C# spurious import edges — legacy DAG leg (#1881, #8)', () => { const imports = getRelationships(result, 'IMPORTS'); const spurious = imports.find( (e) => - e.sourceFilePath === 'Services/OrderService.cs' && - e.targetFilePath === 'Legacy/Tasks.cs', + e.sourceFilePath === 'Services/OrderService.cs' && e.targetFilePath === 'Legacy/Tasks.cs', ); expect(spurious).toBeUndefined(); }); @@ -2676,8 +2670,7 @@ describe('C# spurious import edges — legacy DAG leg (#1881, #8)', () => { const imports = getRelationships(result, 'IMPORTS'); const legit = imports.find( (e) => - e.sourceFilePath === 'Services/OrderService.cs' && - e.targetFilePath === 'Models/User.cs', + e.sourceFilePath === 'Services/OrderService.cs' && e.targetFilePath === 'Models/User.cs', ); expect(legit).toBeDefined(); });