This repository has been archived by the owner on Dec 9, 2017. It is now read-only.
Releases: textlint/textlint-formatter
Releases · textlint/textlint-formatter
1.8.0
1.7.5
1.7.4
1.7.3
1.7.1
1.7.0
1.5.2
1.5.1
Fixes
- fix(pretty-error): fix position of column indicator #6
In pretty-error, column indicators, v
and ^
, point out wrong column depending on the width of line number.
$ cat /tmp/test.md | grep -n '\[ \]'
7:- [ ] more more document
19:- [ ] more more document
108:- [ ] more more document
Before
Indicators point out wrong column when the width of line number != 2.
$ textlint --rule no-todo -f pretty-error /tmp/test.md
no-todo: found TODO: '- [ ] more more document'
/tmp/test.md:7:1
v
6.
7. - [ ] more more document
8.
^
no-todo: found TODO: '- [ ] more more document'
/tmp/test.md:19:1
v
18.
19. - [ ] more more document
20.
^
no-todo: found TODO: '- [ ] more more document'
/tmp/test.md:108:1
v
107.
108. - [ ] more more document
109.
^
After
Indicators point out correct column.
$ textlint --rule no-todo --format pretty-error /tmp/test.md
no-todo: found TODO: '- [ ] more more document'
/tmp/test.md:7:1
v
6.
7. - [ ] more more document
8.
^
no-todo: found TODO: '- [ ] more more document'
/tmp/test.md:19:1
v
18.
19. - [ ] more more document
20.
^
no-todo: found TODO: '- [ ] more more document'
/tmp/test.md:108:1
v
107.
108. - [ ] more more document
109.
^
Thanks @orangain