--strict formats warnings like errors and exits with status 1
extra message output of check-declare-file is hidden
set allow-errors to 'always' in code so that all files are linted
After the change:
> ~/git/eask-cli/bin/eask lint declare --strict
`js-comint.el` with check-declare
js-comint.el:148:Warning (check-declare): said ‘nvm--find-exact-version-for’ was defined in .eask/31.0.50/elpa/nvm-20240921.1901/nvm.el: arglist mismatch
`test-js-comint.el` with check-declare
No issues found
(Total of 2 files have checked)
The output line is formatted like an error and the exit code is 1.
Questions
Perhaps 'Warning (check-declare)' should be removed from the output?
e.g. this seems like a better message
js-comint.el:148: ‘nvm--find-exact-version-for’ was defined in .eask/31.0.50/elpa/nvm-20240921.1901/nvm.el: arglist mismatch
Fixes #271
Summary
check-declare-file
is hiddenAfter the change:
The output line is formatted like an error and the exit code is 1.
Questions
Perhaps 'Warning (check-declare)' should be removed from the output? e.g. this seems like a better message