D:\SashaDebugging>type KiraHtmllint.html | C:\Users\SashaChernykh\AppData\Roaming\npm\htmllint.cmd D:\SashaDebugging\KiraHtmllint.html
[htmllint] found 0 errors out of 1 files
The process tried to write to a nonexistent pipe.
5. Behavior after pull request
status bar:
Sublime Text console output:
SublimeLinter: #2 linter.py:1363 Running …
D:\SashaDebugging (working dir)
> C:\Users\SashaChernykh\AppData\Roaming\npm\htmllint.cmd D:\SashaDebugging\KiraHtmllint.html
SublimeLinter: #2 linter.py:1027 htmllint: output:
[htmllint] found 0 errors out of 1 files
SublimeLinter: #2 linter.py:1063 htmllint: No match for line: ''
SublimeLinter: #2 linter.py:1063 htmllint: No match for line: '[htmllint] found 0 errors out of 1 files'
SublimeLinter: sublime_linter.py:449 Linting 'KiraHtmllint.html' took 0.67s
CLI equivalent:
D:\SashaDebugging>C:\Users\SashaChernykh\AppData\Roaming\npm\htmllint.cmd D:\SashaDebugging\KiraHtmllint.html
[htmllint] found 0 errors out of 1 files
6. Additional improvements
I update and remove deprecated syntax for SublimeLinter 4.0:
SublimeLinter: linter.py:376 htmllint: Defining 'cls.syntax' has been deprecated. Use http://www.sublimelinter.com/en/stable/linter_settings.html#selector
SublimeLinter: linter.py:388 htmllint: Defining 'cls.version_args' has no effect anymore. You can safely remove these settings.
SublimeLinter: linter.py:388 htmllint: Defining 'cls.version_re' has no effect anymore. You can safely remove these settings.
SublimeLinter: linter.py:388 htmllint: Defining 'cls.version_requirement' has no effect anymore. You can safely remove these settings.
SublimeLinter: linter.py:388 htmllint: Defining 'cls.npm_name' has no effect anymore. You can safely remove these settings.
7. Testing environment
Windows 10 Enterprise LTSB 64-bit EN
Sublime Text Version 3.1.1 Build 3176
SublimeLinter 4.9.4
Node.js 11.10.0
htmllint-cli 0.0.7
SublimeLinter-contrib-htmllint 2.0.0
I test in a version of Sublime Text without plugins and user settings.
1. Summary
I fix
htmllint(erred)
for linting big HTML files.2. Argumentation
tempfile_suffix
in official documentationException: [Errno 32] Broken pipe
SublimeLinter issue3. Data
KiraHtmllint.html
— big file, because SublimeLinter-contrib-htmllint doesn't work in big files for me:SublimeLinter.sublime-settings
:4. Behavior before pull request
5. Behavior after pull request
6. Additional improvements
I update and remove deprecated syntax for SublimeLinter 4.0:
7. Testing environment
I test in a version of Sublime Text without plugins and user settings.
Thanks.