deadem / notepad-pp-linter

Notepad++ Linter. Realtime code check against any checkstyle-compatible linter: jshint, eslint, jscs, phpcs, csslint etc
MIT License
37 stars 7 forks source link

Linter: Invalid output, but execution from command line is working #37

Closed dodmi closed 2 months ago

dodmi commented 11 months ago

Error in NPP status bar: image

Config: image

Execution from command line: image

Is there a possibility to see the output, when the plugin executes the command?

jpyrat commented 8 months ago

Same for me.

I'm using https://github.com/deadem/notepad-pp-linter/issues/27#issuecomment-1941650890 tricks

linter.tmp seems good :

<?xml version="1.0" encoding="UTF-8"?>
<checkstyle version="3.9.0">
<file name="C:\laragon\_spipmu4_\plugins\soyezcreateurs\inc\sc_agenda.php">
 <error line="1741" column="18" severity="error" message="Expected at least 1 space before &quot;=&quot;; 0 found" source="PSR12.Operators.OperatorSpacing.NoSpaceBefore"/>
 <error line="1741" column="18" severity="error" message="Expected at least 1 space after &quot;=&quot;; 0 found" source="PSR12.Operators.OperatorSpacing.NoSpaceAfter"/>
</file>
</checkstyle>