Repository navigation
fix(lint): use String#endsWith in the Swift extractor - #846
Merged
Merged
Conversation
oxlint --deny-warnings flags /Error$/ as a warning, so every main CI run has failed since Swift support landed. Co-authored-by: Cursor <[email protected]>
Code Erosion ReportInformational — never blocks the merge.
Scanned 271 files / 49909 SLOC · high-CC functions 307/3687 * On TypeScript, Rule hits (TS verbosity layer)Standalone
34 distinct lines flagged across |
This was referenced Sep 26, 2026
5 tasks done
Walternater
pushed a commit
to Walternater/teamai-cli
that referenced
this pull request
Nov 2, 2026
oxlint --deny-warnings flags /Error$/ as a warning, so every main CI run has failed since Swift support landed. Co-authored-by: Cursor <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
mainCI has been red since feat(code-knowledge): add Swift support to the AST and heuristic tracks #842:oxlint --deny-warningstreats/Error$/u.test(...)insrc/wiki-engine/code-knowledge/extractors/swift.tsas a warning and fails every job in ~30s.typeDecl[2].endsWith("Error"), matching the Rust extractor already onmain.Test plan
npm run lint(oxlint--deny-warnings) in the worktree — 0 warningsnpx vitest run src/__tests__/swift-extractor.test.ts src/__tests__/ast-extract-swift.test.ts— 15 passedmain)Made with Cursor