Skip to content

ci: improve linting #385

ci: improve linting

ci: improve linting #385

Triggered via pull request July 23, 2024 17:06
Status Failure
Total duration 9m 21s
Artifacts

build.yml

on: pull_request
Static linting
9m 8s
Static linting
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 10 warnings
Stylelint problem: cr3gui/data/dict.css#L10
Unexpected unit (length-zero-no-unit) [maybe fixable] - https://stylelint.io/user-guide/rules/length-zero-no-unit
Static linting: cr3gui/data/hyph/French.pattern#L34
Opening and ending tag mismatch: pttern line 34 and pattern
Static linting: cr3gui/data/hyph/Pouet.pattern#L1
Document is empty
Static linting: cr3gui/data/hyph/Serbian.pattern#L8
Opening and ending tag mismatch: pattrn line 8 and pattern
Static linting
Process completed with exit code 2.
Static linting: crengine/include/lvrefcache.h#L542
Syntax Error: AST broken, 'if' doesn't have two operands.
Static linting: crengine/include/lvqueue.h#L61
AST broken, ternary operator missing operand(s)
Static linting: crengine/include/lvref.h#L394
Reference to temporary returned.
Static linting: crengine/include/lvref.h#L395
Reference to temporary returned.
Static linting: crengine/include/lvref.h#L596
Rethrowing current exception with 'throw;', it seems there is no current exception to rethrow. If there is no current exception this calls std::terminate(). More: https://isocpp.org/wiki/faq/exceptions#throw-without-an-object
Static linting: crengine/include/lvref.h#L618
Rethrowing current exception with 'throw;', it seems there is no current exception to rethrow. If there is no current exception this calls std::terminate(). More: https://isocpp.org/wiki/faq/exceptions#throw-without-an-object
Static linting: crengine/src/crtxtenc.cpp#L2078
Memory leak: buf
Static linting: crengine/src/crtxtenc.cpp#L1700
Memory is allocated but not initialized: pdata
Static linting: crengine/src/cri18n.cpp#L50
Value stored to 'res' is never read
Static linting: crengine/include/lvrefcache.h#L542
Syntax Error: AST broken, 'if' doesn't have two operands.