Geany do not see errors, and can not point to error strings, then I check html file with eslint
Here eslint command: eslint -f compact "%f" --global DemoApp,Telegram Then I check JS in html file (use html plugin in eslint), the output is black, and Geany can not point to error string, then I click on error.  Then I check mjs Javascript with the same command - all work fine  I was check in command line, for find difference, but all output is the same. Here after html file check: ``` eslint -f compact "./index.html" --global DemoApp,Telegram /home/slava/projects-geany/TgWebAppStudy/index.html: line 489, col 8, Error - 'options' is defined but never used. (no-unused-vars) /home/slava/projects-geany/TgWebAppStudy/index.html: line 513, col 17, Error - 'el' is defined but never used. (no-unused-vars) /home/slava/projects-geany/TgWebAppStudy/index.html: line 717, col 85, Error - 'stream' is defined but never used. (no-unused-vars) /home/slava/projects-geany/TgWebAppStudy/index.html: line 728, col 85, Error - 'stream' is defined but never used. (no-unused-vars) /home/slava/projects-geany/TgWebAppStudy/index.html: line 740, col 84, Error - 'stream' is defined but never used. (no-unused-vars) /home/slava/projects-geany/TgWebAppStudy/index.html: line 770, col 4, Error - Unreachable code. (no-unreachable) /home/slava/projects-geany/TgWebAppStudy/index.html: line 785, col 23, Error - 'error' is defined but never used. (no-unused-vars) /home/slava/projects-geany/TgWebAppStudy/index.html: line 791, col 8, Error - 'DemoAppMenu' is assigned a value but never used. (no-unused-vars) /home/slava/projects-geany/TgWebAppStudy/index.html: line 799, col 8, Error - 'DemoAppInitData' is assigned a value but never used. (no-unused-vars) /home/slava/projects-geany/TgWebAppStudy/index.html: line 828, col 16, Error - Empty block statement. (no-empty) /home/slava/projects-geany/TgWebAppStudy/index.html: line 872, col 79, Error - 'e' is defined but never used. (no-unused-vars) 11 problems ``` Here After mjs file check ``` eslint -f compact "./main.mjs" --global DemoApp,Telegram /home/slava/projects-geany/chainliqbot1/engine/main.mjs: line 261, col 10, Error - 'showFilterResult' is defined but never used. (no-unused-vars) /home/slava/projects-geany/chainliqbot1/engine/main.mjs: line 261, col 82, Error - 'transaction' is defined but never used. (no-unused-vars) /home/slava/projects-geany/chainliqbot1/engine/main.mjs: line 313, col 10, Error - 'decolog' is defined but never used. (no-unused-vars) /home/slava/projects-geany/chainliqbot1/engine/main.mjs: line 337, col 10, Error - 'logNewBlock' is defined but never used. (no-unused-vars) /home/slava/projects-geany/chainliqbot1/engine/main.mjs: line 344, col 10, Error - 'decoChainCheck' is defined but never used. (no-unused-vars) /home/slava/projects-geany/chainliqbot1/engine/main.mjs: line 407, col 5, Error - 'gp' is assigned a value but never used. (no-unused-vars) 6 problems ``` Also I check exit code of eslint after mjs file check and html file check - it is 1 always. I do not find any differences, but geany work fine for mjs, and have problem with html. Also I check html by tidy - all fine. Problem only with eslint. Please help, who can ! -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/3739 You are receiving this because you are subscribed to this thread. Message ID: <geany/geany/issues/[email protected]>
