Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix(typescript-estree): only call watch callback on new files#367

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

uniqueiniquity
Copy link
Contributor

Addressing#243

Currently we are creating a newts.Program for every subsequent file linted after the first in a given run with theproject object given.

Here we cut down the number of times this happens by ensuring we only tell the TS API that a file has changed when we lint a file for a second time (thereby implying a--fix mode or "watch" mode).

@codecov
Copy link

codecovbot commentedMar 19, 2019

Codecov Report

Merging#367 intomaster willdecrease coverage by0.03%.
The diff coverage is100%.

@@            Coverage Diff            @@##           master    #367      +/-   ##=========================================- Coverage   97.24%   97.2%   -0.04%=========================================  Files          67      67                Lines        2357    2360       +3       Branches      336     337       +1     =========================================+ Hits         2292    2294       +2  Misses         44      44- Partials       21      22       +1
Impacted FilesCoverage Δ
packages/typescript-estree/src/tsconfig-parser.ts91.8% <100%> (-1.31%)⬇️

Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@JamesHenryJamesHenryJamesHenry approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@uniqueiniquity@JamesHenry

[8]ページ先頭

©2009-2025 Movatter.jp