textlint

The pluggable natural language linter for text and markdown.

MIT License

Downloads
7.4M
Stars
2.8K
Committers
83

Bot releases are hidden (Show)

textlint - @textlint/[email protected]

Published by azu over 5 years ago

3.1.6 (2019-04-30)

Chores

  • deps: update deps && devDeps (a19463b)
textlint - @textlint/[email protected]

Published by azu over 5 years ago

5.1.6 (2019-04-30)

Chores

  • deps: update deps && devDeps (a19463b)
textlint - [email protected]

Published by azu over 5 years ago

2.1.6 (2019-04-30)

Note: Version bump only for package textlint-example-plugin-extensions-option

textlint - [email protected]

Published by azu over 5 years ago

2.1.6 (2019-04-30)

Note: Version bump only for package textlint-example-rulesdir

textlint - [email protected]

Published by azu over 5 years ago

5.1.6 (2019-04-30)

Chores

  • deps: update deps && devDeps (a19463b)
textlint - [email protected]

Published by azu over 5 years ago

10.7.6 (2019-04-30)

Chores

  • deps: update deps && devDeps (a19463b)
textlint - [email protected]

Published by azu over 5 years ago

2.1.6 (2019-04-30)

Note: Version bump only for package textlint-example-use-as-module

textlint -

Published by azu over 5 years ago

Fixes

  • textlint: should not refer Config#hash when no use --cache #596 #597

TypeError: Cannot read property 'version' of undefined #597

This version will fix textlint in Now.sh.

textlint - [email protected]: Fix regression

Published by azu over 5 years ago

Bug Fixes

[email protected] fix regression for [email protected]

When you use https://github.com/textlint/textlint-filter-rule-comments, [email protected] #586 break the ruleId.

For example, following disble comment will not work on [email protected]

<!-- textlint-disable preset-ja-technical-writing/ja-no-weak-phrase -->

This issue is happened on using preset- prefix.

How to fix?

This regression is fixed in [email protected].

You should upgrade to [email protected].

npm install [email protected]

Background

We have introduces normalization function for rule's key.
We have forgot to normalize ignoreId like disable comment.

[email protected] normalize ignoreId too.

For more details, see https://github.com/textlint/textlint/pull/589

textlint -

Published by azu over 5 years ago

EDIT: This version include a regression.

You should update to https://github.com/textlint/textlint/releases/tag/textlint%4011.2.3

Summary

[email protected] fix key normalization issue like #583
This version fix to work following config.

Previously, textlint-rule-<name> setting would not work correly.

{
  "rules": {
    "textlint-rule-common-misspellings": true,
    "textlint-rule-write-good": {
      "severity": "warning" 
    }
  }
}

If you want to know textlint configuration, please see https://textlint.github.io/docs/configuring.html.

In this release, We have refactored key normalization algorithm.
For more details, see #586

📝 We have already dropped support for Node.js 4 in #443
This release includes actual incompatible code for Node.js 4.
If you use Node.js 4.x, please upgrade Node.js LTS.

We will improve textlint for modern environment #585

@textlint/[email protected]

fixes

  • textlint: add reasonable debug log (3931810)

@textlint/[email protected]

fixes

  • textlint: add reasonable debug log (3931810)

@textlint/[email protected]

fixes

  • textlint: add reasonable debug log (3931810)

@textlint/[email protected]

fixes

  • textlint: add reasonable debug log (3931810)

[email protected]

fixes

  • textlint: add normalization for rule config key (a644d3d), closes #583
  • textlint: add reasonable debug log (3931810)

All list:

textlint -

Published by azu over 5 years ago

[email protected]

  • deps: move some dependencies to devDependencies #581

Thanks to @karak

All updates

textlint -

Published by azu almost 6 years ago

Changes between https://github.com/textlint/textlint/compare/[email protected]@11.2.0

Summary

Rule creator can use constant value for *:exit.


-                    [Syntax.Str + ":exit"](node) {
+                    [Syntax.StrExit](node) {
                        report(node, new RuleError("message"));
                    }

For more details, See https://textlint.github.io/docs/txtnode.html#type

@textlint/[email protected]

features

This changes add constant type for *:exit Syntax like DocumentExit.

  • ast-node-types: add `*Exit` type as constant value (7106f5d)
  • ast-node-types: add `TypeofTxtNode` type function (69bc1ea)

For more details, See https://textlint.github.io/docs/txtnode.html#type

@textlint/[email protected]

fixes

  • textlint-plugin-markdown: remove cycle dependency (b241962)
  • textlint-plugin-text: Use @textlint/kernel instead of textlint (5a2fd25), closes #567

@textlint/[email protected]

fixes

  • types: enhance `TextlintRuleReportHandler` typing (aa354d1)

[email protected]

fixes

  • types: enhance `TextlintRuleReportHandler` typing (aa354d1)

[email protected]

fixes

  • textlint: fix package's keyword (2a600b8)

features

  • ast-node-types: add `*Exit` type as constant value (7106f5d)

All versions

textlint -

Published by azu almost 6 years ago

This minor release does not includes breaking change.
Almost changes is related with TypeScript definition.

In other words, almost changes is not related textlint CLI user.

📝 Summary

@textlint/[email protected]

Features

  • types: Add AnyTxtNode #562

@textlint/[email protected]

  • Add @textlint/types pacakge #561 #562

This pacakge define types for textlint.

@textlint/[email protected]

fixes

[email protected]

fixes

♻️ Refactoring

Move following types to @textlint/types from @textlint/kernel.
Also, @textlint/kernel export these types for back-compatible reason.

  • TextlintResult
  • TextlintFixResult
  • TextlintMessageFixCommand
  • TextlintMessage
  • TextlintRuleReporter,
  • TextlintRuleModule
  • TextlintRuleOptions
  • TextlintRuleSeverityLevel,
  • TextlintFilterRuleReporter,
  • TextlintFilterRuleOptions,
  • TextlintPluginCreator
  • TextlintPluginOptions
  • TextlintPluginProcessor
  • TextlintPluginProcessorConstructor

Move files

Move following codes to @textlint/types from @textlint/kernel.
Also, @textlint/types export it.

  • TextlintSourceCode
  • TextlintSourceCodeArgs
  • TextlintSourceCodeRange
  • TextlintSourceCodeLocation

Add types

@textlint/types and @textlint/kernel export these new types.

  • TextlintRuleSeverityLevel
  • TextlintMessageFixCommand
  • AnyTxtNode
    • @textlint/ast-node-types

Realted refactoring

  • @textlint/linter-formatter: use @textlint/types instead of @textlint/kernel
  • @textlint/fixer-formatter: use @textlint/types instead of @textlint/kernel

For more details, see #561

textlint - [email protected] support Node.js 11

Published by azu almost 6 years ago

Summary 📝

  • textlint support Node.js 11
  • Fix a bug about textlint-tester

[email protected] and @textlint/[email protected]

fixes

  • kernel: fix applyFix order on Node.js 11 (714a90c)

[email protected]

fixes

  • gulp-textlint: upgrade to gulp@4 (47a3ad9)

[email protected]

fixes

  • textlint-tester: fix text only valid test is always passed (#551) (c104007)
textlint -

Published by azu about 6 years ago

[email protected]

refactor

  • make arguments optional correctly #546

[email protected]

fixes

  • textlint-tester: fix text only valid test is always passed (#551) (c104007)
textlint -

Published by azu over 6 years ago

textlint - Fix regression [email protected]

Published by azu over 6 years ago

This version will fix regression of [email protected] #517

@textlint/[email protected]

fixes

  • markdown-to-ast: enable yaml frontmatter parse by default (121c62f) #518
textlint -

Published by azu over 6 years ago

@textlint/[email protected]

fixes

  • upgrade remark@^9.0.0 (8a70c0f) #514

[email protected]

fixes

features

  • support --no-textlintrc (466e257) #512 #225
textlint -

Published by azu over 6 years ago

[email protected]

fixes

  • textlint: remove utf-8-validate (7668c1b)
  • test: use ts-node-test-register for TypeScript testing (be746d8), closes #451