Skip to content
This repository has been archived by the owner on Dec 9, 2017. It is now read-only.

Releases: textlint/textlint-formatter

1.8.0

14 May 04:38
@azu azu
Compare
Choose a tag to compare

Features

Add CLI : textlint-formatter:

  • cli: add cli for textlint-formatter (8f1f91a)

You can like this

textlint -f json README.md --rule no-todo | textlint-formatter -f pretty-error --stdin

1.7.5

14 May 03:42
@azu azu
Compare
Choose a tag to compare
1.7.5

1.7.4

27 Apr 01:55
@azu azu
Compare
Choose a tag to compare

Bug Fixes

  • pretty-error: fix FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed (d4ad5ca)

1.7.3

23 Mar 01:17
@azu azu
Compare
Choose a tag to compare
1.7.3

1.7.1

14 Mar 14:46
@azu azu
Compare
Choose a tag to compare
1.7.1

1.7.0

09 Mar 13:38
@azu azu
Compare
Choose a tag to compare

Bug Fixes

  • options: fix to use color (815d7e9)
  • test: fix pretty-errro test (73d327f)

Features

  • formatter: update formatter and add tests (d25a963)
  • preety-error: add total output (2d41e9a)
  • pretty-error: support no-color option (9ed8047)
  • stylish: add help to use fixer (cfe03e4)

1.5.2

20 Jan 15:02
@azu azu
Compare
Choose a tag to compare

Bug Fixes

  • stylish: align table cells taking unicode chars into account (c708e68)
  • stylish: narrow the width of error message when it has line breaks (070f0dd)

1.5.1

20 Jan 09:21
@azu azu
Compare
Choose a tag to compare

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

1.3.2

14 Nov 05:05
@azu azu
Compare
Choose a tag to compare

Bug Fixes

  • pretty-error: fix file:line:column (2444297)
  • test: column number start with 1 (08eb0f3)