You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am unable to get Fortran files to pass the linter. It complains "No final newline expected" whether or not there is a final newline. I have been locally removing insert_final_newline from Fortran editorconfig to get things to pass, but this only gets is passing locally and not on CI. See:
Run the linter on a project file:
$ make lint-editorconfig-files FILES="lib/node_modules/@stdlib/blas/base/dscal/src/dscal.f"
Linting files for basic formatting errors...
lib/node_modules/@stdlib/blas/base/dscal/src/dscal.f:
No final newline expected
1 errors found
make: *** [lint-editorconfig-files] Error 1
A screenshot of cat lib/node_modules/@stdlib/blas/base/dscal/src/dscal.f:
The issue persists whether or not I add a newline. Maybe it's one of those Windows crlf things?
Expected Results
I expect the linter to pass since the file has no trailing newline.
Description
I am unable to get Fortran files to pass the linter. It complains "No final newline expected" whether or not there is a final newline. I have been locally removing
insert_final_newline
from Fortran editorconfig to get things to pass, but this only gets is passing locally and not on CI. See:https://github.com/rreusser/stdlib/blob/f257760db466ba38810e4fbb9fde4826e21f64ee/.editorconfig#L85-L89
Related Issues
No.
Questions
No.
Demo
No response
Reproduction
A screenshot of
cat lib/node_modules/@stdlib/blas/base/dscal/src/dscal.f
:The issue persists whether or not I add a newline. Maybe it's one of those Windows crlf things?
Expected Results
Actual Results
Version
current
develop
Environments
N/A
Browser Version
N/A
Node.js / npm Version
[email protected] / [email protected]
Platform
Mac OS 15.2
Checklist
The text was updated successfully, but these errors were encountered: