Linter should output line numbers

Open
#4,319 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

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

Research direction

Review the linter implementation and the PR annotation work referenced by #4307 to find where failed checks are formatted. Update the reported output to include the relevant line number, then verify that linter failures still annotate the intended lines on pull requests.

Written by the indexing model from the issue text.

Description

Currently, the linter only outputs the name of the file in which a check failed. Now that we can annotate linter failures directly on PRs with #4307, it'd be nice if the linter could output the line number as well.

Dominant language
JavaScript
Stars
2.9k
Forks
571
Avg merge
1d 22h
Merged PRs (30d)
13

Getting set up

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.

More from tc39/test262

All issues in tc39/test262

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.