ampproject / ampproject/amp-toolbox

Report line/column numbers in the output

Open
#412 1 comment 0 reactions 0 assignees View on GitHub
toolbox-linter
Dominant language
HTML
Stars
459
Forks
242
PR merge metrics
No merged PRs in 30d

Description

Report line/column numbers associated with error/warnings where appropriate.

(This SO question and answer might be useful to get started: https://stackoverflow.com/questions/49018783/element-startindex-is-undefined-when-using-withstartindices-option-in-cheerio.)

Contributor guide

Open the contributing guide

Research direction

Start by locating the code that produces error and warning output, then investigate whether Cheerio's withStartIndices option provides the needed source positions, as described in the linked Stack Overflow question. Done means reporting line and column numbers for errors and warnings wherever appropriate.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.