glayzzle / glayzzle/codemirror-linter

HTML / CSS / JS Linters

Open
#3 0 comments 1 reaction 0 assignees View on GitHub
enhancement help wanted
Dominant language
JavaScript
Stars
9
Forks
2
PR merge metrics
No merged PRs in 30d

Description

The linter in codemirror detects and triggers only the linter registered at position 0,0.

In order to mix in the same document JS / HTML and CSS, it's up to PHP linter to dispatch requests on others parts.

I don't see any elegant way to do it - should try to understand how http://codemirror.net/mode/htmlmixed/ works

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading how the linter registered at position 0,0 is selected, then compare that behavior with CodeMirror's htmlmixed mode at codemirror.net/mode/htmlmixed/. Determine how the PHP linter could dispatch requests for mixed JavaScript, HTML, and CSS regions; done means all relevant linters are triggered for their document parts.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, html, javascript, php
Domain
frontend, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.