• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ota-meshi / svelte-eslint-parser / 4535622740

27 Mar 2023 07:05PM UTC coverage: 90.807%. Remained the same
4535622740

Pull #307

github

GitHub
Merge 2dc273c7d into 31bea7e26
Pull Request #307: chore(deps): update dependency @typescript-eslint/parser to ~5.57.0

874 of 1032 branches covered (84.69%)

Branch coverage included in aggregate %.

2030 of 2166 relevant lines covered (93.72%)

25931.95 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

87.5
/src/parser/typescript/index.ts
1
import type { ESLintExtendedProgram } from "..";
390✔
2
import { parseScript } from "../script";
1✔
3
import { analyzeTypeScript } from "./analyze";
1✔
4
import type { TSESParseForESLintResult } from "./types";
5

6
/**
7
 * Parse for type script
8
 */
9
export function parseTypeScript(
10
  code: { script: string; render: string },
11
  attrs: Record<string, string | undefined>,
12
  parserOptions: any = {}
×
13
): ESLintExtendedProgram {
14
  const tsCtx = analyzeTypeScript(code, attrs, parserOptions);
387✔
15

16
  const result = parseScript(tsCtx.script, attrs, parserOptions);
387✔
17

18
  tsCtx.restoreContext.restore(result as unknown as TSESParseForESLintResult);
387✔
19

20
  return result;
387✔
21
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc