popcodeorg / popcodeorg/popcode

More esprima errors

未关闭
#379 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

feature help wanted
主要语言
JavaScript
星标
191
派生
143
平均合并
4 天 11 小时
30 天内合并 PR
5

描述

Go through the esprima code and audit all error message it is able to generate. Integrate all that are useful to us.

The mappings for esprima errors live here; the validation tests live here (though check the other language validation tests, which are more robust, for inspiration). The translation file that generates the error messages is here.

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从 src/validations/javascript/esprima.js 开始,将其中的错误映射与 src/validations/javascript.js 中的验证测试以及其他语言的验证测试进行比较。查看 locales/en.json 了解生成的消息。当有用的 Esprima 错误已完成映射、翻译并由验证测试覆盖时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript
领域
frontend, testing
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
42/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。