microsoft / microsoft/TypeScript
Enable JavaScript specific warning behavior
未关闭
还没有人认领这个 Issue。
Committed
Domain: JavaScript
Suggestion
VS Code Tracked
- 主要语言
- Go
- 星标
- 111k
- 派生
- 14.3k
- 平均合并
- 1 天 19 小时
- 30 天内合并 PR
- 117
描述
See #6658 for background.
Currently for JavaScript files we provide a very limited set of errors, mostly for syntax errors. There are a number of grammatical and type errors that would be useful to display also.
Brief notes from ad hoc discussion in the team room include:
- Move the code that flags TypeScript syntax in JavaScript files for better error handling
- Add a distinction between errors and warnings to avoid "valid" JavaScript containing errors
- Make the warnings user configurable as part of the project (i.e. may enable/disable certain warnings)
More detailed design to come...
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先阅读 issue #6658,并审查当前的 JavaScript 诊断行为。备注指出,TypeScript 语法处理、错误与警告的区分,以及可由项目配置的警告,是需要确定范围的领域;在实现可以被视为完成之前,必须先确定设计。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript, typescript
- 领域
- compilers
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 20/100