popcodeorg / popcodeorg/popcode

More esprima errors

Open
#379 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature help wanted
Dominant language
JavaScript
Stars
191
Forks
143
Avg merge
4d 11h
Merged PRs (30d)
5

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with src/validations/javascript/esprima.js and compare its error mappings with the validation tests in src/validations/javascript.js and the other language validation tests. Review locales/en.json for the generated messages. Done means useful Esprima errors are mapped, translated, and covered by validation tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.