HTML and Javascript are different filetypes, there is no reason a command that 
has its errors recognised in one would work in another.

> Also I check html by tidy - all fine. Problem only with eslint.

The error messages from tidy have a different format to eslint.  Since `tidy` 
is the default HTML command Geany has been taught how to parse its error format 
for HTML.

But eslint has a different format.

But Javascript has an error regex specified to recognise error lines and 
extract file:line for its default command `jslint`and it luckily matches eslint 
format.

So copy the last line from `Tools->Configuration Files->Filetype 
Configuration->Scripting Languages->Javascript` (the `error_regex` line) to 
`Tools->Configuration Files->Filetype Configuration->Markup 
Languages->filetypes.html` save and restart Geany (might work with just 
`Tools->Reload configuration` I forget, you could try it first).

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3739#issuecomment-1880248457
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/issues/3739/[email protected]>

Reply via email to