glayzzle / codemirror-linter

PHP linter for CodeMirror
https://glayzzle.github.io/codemirror-linter/
BSD 3-Clause "New" or "Revised" License
8 stars 3 forks source link

HTML / CSS / JS Linters #3

Open ichiriac opened 6 years ago

ichiriac commented 6 years ago

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