简体   繁体   中英

Contributing to DefinitelyTyped repo

I'm trying to make my first contribution to DefinitelyType repo but vscode shows me this eslint error in every.ts files in this repo:

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

There are a few stackoverflow posts advising to change "project" path in "parserOptions", eslintrc.json in root repo, but I feel like no setups should be changed in this repository because it has been structured and used by many developers.

Surely, I've tried to restart vscode a few times, please let me know if you have any advices!

Solved by turning off VScode eslint plugin by glancing this post:https://github.com/DefinitelyTyped/DefinitelyTyped/issues/61764

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM