【问题标题】:Contributing to DefinitelyTyped repo为 DefinitelyTyped 仓库做贡献
【发布时间】:2023-01-28 16:40:07
【问题描述】:

我正在尝试对 DefinitelyType 回购做出我的第一个贡献 但是 vscode 在这个 repo 中的每个 .ts 文件中向我显示了这个 eslint 错误:

Parsing error: Cannot read file: [folderPathInMyLocalMachine]/definitelytyped/tsconfig.json

有一些 stackoverflow 帖子建议更改“parserOptions”中的“项目”路径,root repo 中的 eslintrc.json,但我觉得不应在此存储库中更改任何设置,因为它已被许多开发人员构建和使用。

当然,我已经尝试重启 vscode 几次,如果您有任何建议,请告诉我!

【问题讨论】:

    标签: open-source definitelytyped


    【解决方案1】:

    通过关闭 VScode eslint 插件解决了 看一眼这篇文章: https://github.com/DefinitelyTyped/DefinitelyTyped/issues/61764

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-06-27
      • 2011-04-07
      • 1970-01-01
      • 2018-05-17
      • 2018-04-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多