Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(scripts/lint-style): more useful line numbers (#12282)
This changes slighlty the output of the linter from ``` [...]Mathlib/My/File.lean#L285: ERR_LIN: Line has more than 100 characters ``` to ``` [...]Mathlib/My/File.lean:285 ERR_LIN: Line has more than 100 characters ``` If one then copies the path with the line number and uses that when opening the file in vs code with Ctrl-p, it will set to cursor to the correct line number in question. Also other tools will work with that format, it is also used by pylint, clang etc. Co-authored-by: Moritz Firsching <firsching@google.com>
- Loading branch information