textlint/textlint
### [`v11.2.5`](https://togithub.com/textlint/textlint/compare/textlint@11.2.4...textlint@11.2.5)
[Compare Source](https://togithub.com/textlint/textlint/compare/textlint@11.2.4...textlint@11.2.5)
### [`v11.2.4`](https://togithub.com/textlint/textlint/compare/textlint@11.2.3...textlint@11.2.4)
[Compare Source](https://togithub.com/textlint/textlint/compare/textlint@11.2.3...textlint@11.2.4)
### [`v11.2.3`](https://togithub.com/textlint/textlint/compare/textlint@11.2.2...textlint@11.2.3)
[Compare Source](https://togithub.com/textlint/textlint/compare/textlint@11.2.2...textlint@11.2.3)
### [`v11.2.2`](https://togithub.com/textlint/textlint/compare/textlint@11.2.1...textlint@11.2.2)
[Compare Source](https://togithub.com/textlint/textlint/compare/textlint@11.2.1...textlint@11.2.2)
### [`v11.2.1`](https://togithub.com/textlint/textlint/compare/textlint@11.2.0...textlint@11.2.1)
[Compare Source](https://togithub.com/textlint/textlint/compare/textlint@11.2.0...textlint@11.2.1)
### [`v11.2.0`](https://togithub.com/textlint/textlint/compare/textlint@11.1.0...textlint@11.2.0)
[Compare Source](https://togithub.com/textlint/textlint/compare/textlint@11.1.0...textlint@11.2.0)
### [`v11.1.0`](https://togithub.com/textlint/textlint/compare/textlint@11.0.2...textlint@11.1.0)
[Compare Source](https://togithub.com/textlint/textlint/compare/textlint@11.0.2...textlint@11.1.0)
### [`v11.0.2`](https://togithub.com/textlint/textlint/compare/textlint@11.0.1...textlint@11.0.2)
[Compare Source](https://togithub.com/textlint/textlint/compare/textlint@11.0.1...textlint@11.0.2)
### [`v11.0.1`](https://togithub.com/textlint/textlint/compare/textlint@11.0.0...textlint@11.0.1)
[Compare Source](https://togithub.com/textlint/textlint/compare/textlint@11.0.0...textlint@11.0.1)
### [`v11.0.0`](https://togithub.com/textlint/textlint/compare/textlint@10.2.1...textlint@11.0.0)
[Compare Source](https://togithub.com/textlint/textlint/compare/textlint@10.2.1...textlint@11.0.0)
### [`v10.2.1`](https://togithub.com/textlint/textlint/compare/textlint@10.2.0...textlint@10.2.1)
[Compare Source](https://togithub.com/textlint/textlint/compare/textlint@10.2.0...textlint@10.2.1)
### [`v10.2.0`](https://togithub.com/textlint/textlint/compare/textlint@10.1.5...textlint@10.2.0)
[Compare Source](https://togithub.com/textlint/textlint/compare/textlint@10.1.5...textlint@10.2.0)
### [`v10.1.5`](https://togithub.com/textlint/textlint/compare/textlint@10.1.4...textlint@10.1.5)
[Compare Source](https://togithub.com/textlint/textlint/compare/textlint@10.1.4...textlint@10.1.5)
### [`v10.1.4`](https://togithub.com/textlint/textlint/compare/textlint@10.1.3...textlint@10.1.4)
[Compare Source](https://togithub.com/textlint/textlint/compare/textlint@10.1.3...textlint@10.1.4)
### [`v10.1.3`](https://togithub.com/textlint/textlint/compare/textlint@10.1.2...textlint@10.1.3)
[Compare Source](https://togithub.com/textlint/textlint/compare/textlint@10.1.2...textlint@10.1.3)
### [`v10.1.2`](https://togithub.com/textlint/textlint/compare/textlint@10.1.1...textlint@10.1.2)
[Compare Source](https://togithub.com/textlint/textlint/compare/textlint@10.1.1...textlint@10.1.2)
### [`v10.1.1`](https://togithub.com/textlint/textlint/compare/textlint@10.1.0...textlint@10.1.1)
[Compare Source](https://togithub.com/textlint/textlint/compare/textlint@10.1.0...textlint@10.1.1)
### [`v10.1.0`](https://togithub.com/textlint/textlint/compare/textlint@10.0.1...textlint@10.1.0)
[Compare Source](https://togithub.com/textlint/textlint/compare/textlint@10.0.1...textlint@10.1.0)
### [`v10.0.1`](https://togithub.com/textlint/textlint/compare/textlint@10.0.0...textlint@10.0.1)
[Compare Source](https://togithub.com/textlint/textlint/compare/textlint@10.0.0...textlint@10.0.1)
### [`v10.0.0`](https://togithub.com/textlint/textlint/compare/textlint@9.1.1...textlint@10.0.0)
[Compare Source](https://togithub.com/textlint/textlint/compare/textlint@9.1.1...textlint@10.0.0)
### [`v9.1.1`](https://togithub.com/textlint/textlint/compare/textlint@9.1.0...textlint@9.1.1)
[Compare Source](https://togithub.com/textlint/textlint/compare/textlint@9.1.0...textlint@9.1.1)
### [`v9.1.0`](https://togithub.com/textlint/textlint/compare/textlint@9.0.1...textlint@9.1.0)
[Compare Source](https://togithub.com/textlint/textlint/compare/textlint@9.0.1...textlint@9.1.0)
### [`v9.0.1`](https://togithub.com/textlint/textlint/compare/textlint@9.0.0...textlint@9.0.1)
[Compare Source](https://togithub.com/textlint/textlint/compare/textlint@9.0.0...textlint@9.0.1)
### [`v9.0.0`](https://togithub.com/textlint/textlint/compare/textlint@8.2.1...textlint@9.0.0)
[Compare Source](https://togithub.com/textlint/textlint/compare/textlint@8.2.1...textlint@9.0.0)
### [`v8.2.1`](https://togithub.com/textlint/textlint/compare/textlint@8.2.0...textlint@8.2.1)
[Compare Source](https://togithub.com/textlint/textlint/compare/textlint@8.2.0...textlint@8.2.1)
### [`v8.2.0`](https://togithub.com/textlint/textlint/compare/textlint@8.1.0...textlint@8.2.0)
[Compare Source](https://togithub.com/textlint/textlint/compare/textlint@8.1.0...textlint@8.2.0)
### [`v8.1.0`](https://togithub.com/textlint/textlint/compare/textlint@8.0.1...textlint@8.1.0)
[Compare Source](https://togithub.com/textlint/textlint/compare/textlint@8.0.1...textlint@8.1.0)
### [`v8.0.1`](https://togithub.com/textlint/textlint/compare/textlint@8.0.0...textlint@8.0.1)
[Compare Source](https://togithub.com/textlint/textlint/compare/textlint@8.0.0...textlint@8.0.1)
### [`v8.0.0`](https://togithub.com/textlint/textlint/compare/v7.4.0...textlint@8.0.0)
[Compare Source](https://togithub.com/textlint/textlint/compare/v7.4.0...textlint@8.0.0)
### [`v7.4.0`](https://togithub.com/textlint/textlint/releases/v7.4.0)
[Compare Source](https://togithub.com/textlint/textlint/compare/v7.3.0...v7.4.0)
#### Features
- cli: Support quiet mode [#268](https://togithub.com/textlint/textlint/issues/268)
Now, work `textlint --quite`.
Thanks to [@fand](https://togithub.com/fand)
### [`v7.3.0`](https://togithub.com/textlint/textlint/releases/v7.3.0)
[Compare Source](https://togithub.com/textlint/textlint/compare/v7.2.2...v7.3.0)
#### Features
- [#261](https://togithub.com/textlint/textlint/issues/261) [#264](https://togithub.com/textlint/textlint/issues/264) Support glob pattern
`$ textlint "*pattern"` (need to wrap `"`)
```sh
textlint "./docs/"
### Results
[ 'docs/configuring.md',
'docs/faq/failed-to-load-textlints-module.md',
'docs/faq/line-column-or-index.md',
'docs/filter-rule.md',
'docs/formatter.md',
'docs/getting-started.md',
'docs/plugin.md',
'docs/README.md',
'docs/rule-advanced.md',
'docs/rule-fixable.md',
'docs/rule-preset.md',
'docs/rule.md',
'docs/txtnode.md',
'docs/use-as-modules.md' ]
```
```sh
textlint "./docs/**"
### Results
[ 'docs/configuring.md',
'docs/faq/failed-to-load-textlints-module.md',
'docs/faq/line-column-or-index.md',
'docs/filter-rule.md',
'docs/formatter.md',
'docs/getting-started.md',
'docs/plugin.md',
'docs/README.md',
'docs/rule-advanced.md',
'docs/rule-fixable.md',
'docs/rule-preset.md',
'docs/rule.md',
'docs/txtnode.md',
'docs/use-as-modules.md' ]
```
```sh
textlint "./docs/faq/*.md"
### Results
[ 'docs/faq/failed-to-load-textlints-module.md',
'docs/faq/line-column-or-index.md' ]
```
### [`v7.2.2`](https://togithub.com/textlint/textlint/releases/v7.2.2)
[Compare Source](https://togithub.com/textlint/textlint/compare/7.2.1...v7.2.2)
**Fixes**:
- fix(config): use rc-config-loader insteadof rc-loader [#262](https://togithub.com/textlint/textlint/issues/262) [#39](https://togithub.com/textlint/textlint/issues/39)
This change also fix following issue.
webpack2 + textlint throw error like this.
ERROR in ./~/rc/index.js
Module parse failed: /Users/azu/.ghq/github.com/textlint/textlint.github.io/node_modules/rc/index.js Unexpected character '#' (1:0)
You may need an appropriate loader to handle this file type.
| #! /usr/bin/env node
| var cc = require('./lib/utils')
| var join = require('path').join
@ ./~/rc-loader/dist/index.js 10:10-23
@ ./~/textlint/lib/config/config-loader.js
@ ./~/textlint/lib/config/config.js
@ ./~/textlint/lib/cli.js
@ ./~/textlint/lib/index.js
@ ./src/components/TextlintDemo/TextlintEditor.js
@ ./src/components/TextlintDemo.js
@ ./src/components/App.js
@ ./src/index.js
### [`v7.2.1`](https://togithub.com/textlint/textlint/releases/7.2.1)
[Compare Source](https://togithub.com/textlint/textlint/compare/7.2.0...7.2.1)
##### Bug Fixes
- **config:** --cache-location doesn't support directory yet. ([325df3f](https://togithub.com/textlint/textlint/commit/325df3f))
### [`v7.2.0`](https://togithub.com/textlint/textlint/releases/7.2.0)
[Compare Source](https://togithub.com/textlint/textlint/compare/7.1.4...7.2.0)
##### Features
- **cli:** --cache && --cache-location support ([#251](https://togithub.com/textlint/textlint/issues/251)) ([04533c7](https://togithub.com/textlint/textlint/commit/04533c7))
`--cache`:
Store the info about processed files in order to only operate on the changed ones.
```sh
textlint --cache docs/
```
`--cache-location`:
Path to the cache location. Default: `.textlintcache`
### [`v7.1.4`](https://togithub.com/textlint/textlint/compare/7.1.3...7.1.4)
[Compare Source](https://togithub.com/textlint/textlint/compare/7.1.3...7.1.4)
### [`v7.1.3`](https://togithub.com/textlint/textlint/releases/7.1.3)
[Compare Source](https://togithub.com/textlint/textlint/compare/7.1.2...7.1.3)
##### Bug Fixes
- **bin:** not use Arrow Function ([f69ae96](https://togithub.com/textlint/textlint/commit/f69ae96))
##### Performance Improvements
- **test:** use yarn for testing example ([#242](https://togithub.com/textlint/textlint/issues/242)) ([4d23836](https://togithub.com/textlint/textlint/commit/4d23836))
### [`v7.1.2`](https://togithub.com/textlint/textlint/releases/7.1.2)
[Compare Source](https://togithub.com/textlint/textlint/compare/7.1.1...7.1.2)
##### Bug Fixes
- use is-file insteadof exists-sync ([d15ff60](https://togithub.com/textlint/textlint/commit/d15ff60))
### [`v7.1.1`](https://togithub.com/textlint/textlint/releases/7.1.1)
[Compare Source](https://togithub.com/textlint/textlint/compare/7.1.0...7.1.1)
##### Bug Fixes
- **d.ts:** export as a class ([f757b4b](https://togithub.com/textlint/textlint/commit/f757b4b))
- **fixer:** fix to work commands that accept `Node` ([ed1d52b](https://togithub.com/textlint/textlint/commit/ed1d52b)), closes [#229](https://togithub.com/textlint/textlint/issues/229)
- **jsdoc:** fix invalid JSDoc ([aca3148](https://togithub.com/textlint/textlint/commit/aca3148))
### [`v7.1.0`](https://togithub.com/textlint/textlint/releases/7.1.0)
[Compare Source](https://togithub.com/textlint/textlint/compare/7.0.2...7.1.0)
##### Features
- **cli:** `--init` fill with installed rules ([3948147](https://togithub.com/textlint/textlint/commit/3948147)), closes [#129](https://togithub.com/textlint/textlint/issues/129)
### [`v7.0.2`](https://togithub.com/textlint/textlint/releases/7.0.2)
[Compare Source](https://togithub.com/textlint/textlint/compare/7.0.1...7.0.2)
##### Bug Fixes
- **engine:** implement toJSON to own Map ([7e95966](https://togithub.com/textlint/textlint/commit/7e95966)) related: [#231](https://togithub.com/textlint/textlint/issues/231)
- **rue-creator-set:** fix unexpected filter rules ([a2988b5](https://togithub.com/textlint/textlint/commit/a2988b5))
### [`v7.0.1`](https://togithub.com/textlint/textlint/releases/7.0.1)
[Compare Source](https://togithub.com/textlint/textlint/compare/7.0.0...7.0.1)
##### Bug Fixes
- **core:** remove `--experimental` flag of `shouldIgnore()` ([b1e2a17](https://togithub.com/textlint/textlint/commit/b1e2a17))
### [`v7.0.0`](https://togithub.com/textlint/textlint/releases/7.0.0)
[Compare Source](https://togithub.com/textlint/textlint/compare/6.11.1...7.0.0)
#### Features
##### Filter rule 🆕
- "filter rule" support [#216](https://togithub.com/textlint/textlint/issues/216) [#207](https://togithub.com/textlint/textlint/issues/207)
Filter rule provide filtering error that is reported by linting rule.
For example, [textlint-filter-rule-comments](https://togithub.com/textlint/textlint-filter-rule-comments) provide filtering function by using comments.
Disables all rules between comments
`
Allow to short `textlint-filter-rule-comments` to `comments`.
Add filter rule name to `filters` field.
```json
{
"filters": {
"comments": true
}
}
```
One more example, `very-nice-rule` is useful, but you want to ignore some reported error in your text.
`very-nice-rule` also check the `BlockQuote` text, but you want to ignore the `BlockQuote` text.
[textlint-filter-rule-node-types](https://togithub.com/textlint/textlint-filter-rule-node-types) rule resolve the issue.
```json
{
"filters": {
"node-types": {
"nodeTypes": ["BlockQuote"]
}
},
"rules": {
"very-nice-rule": true
}
}
```
##### Sharable Config 🆕
- **config:** --config [@textlint/textlint-config](https://togithub.com/textlint/textlint-config) support ([a059df7](https://togithub.com/textlint/textlint/commit/a059df7))
See [Sharable Configuration](https://togithub.com/textlint/textlint/blob/master/docs/configuring.md#sharable-configuration) for details.
Example : [azu/textlint-config-readme: Sharable config for textlint](https://togithub.com/azu/textlint-config-readme)
You can use the config via two step.
npm i -D @azu/textlint-config-readme textlint
$(npm bin)/textlint --config @azu/textlint-config-readme README.md
#### Breaking Change ⚠️
textlint 7.0 has some breaking change.
It will not affect textlint user, but affect to textlint rule developer.
##### Ignore duplicated messages by default [#209](https://togithub.com/textlint/textlint/issues/209)
Duplicated messages is ignored by default.
Duplicated messages is that have same range and same message.
(Not depended on ruleId. ruleId is flexible property)
##### Sort messages by line and column [#218](https://togithub.com/textlint/textlint/issues/218)
textlint 7.0 sort message by line and column.
The rule that depended on the order of messages may fail test.
##### Drop Node.js 0.12 support [#215](https://togithub.com/textlint/textlint/issues/215)
textlint 7.0 not support Node.js 0.12. (But still it work)
**Requirement**: Node.js 4.0.0 >=
### [`v6.11.1`](https://togithub.com/textlint/textlint/releases/6.11.1)
[Compare Source](https://togithub.com/textlint/textlint/compare/6.11.0...6.11.1)
#### Documents
- Create [AST explorer for textlint](https://textlint.github.io/astexplorer/) ([#223](https://togithub.com/textlint/textlint/issues/223))
[![ast-explorer for textlint](https://raw.githubusercontent.com/textlint/textlint/master/docs/resources/ast-explorer.png)](https://textlint.github.io/astexplorer/)
[AST explorer for textlint](https://textlint.github.io/astexplorer/) is useful for understanding AST.
- Add filter rules document [#221](https://togithub.com/textlint/textlint/issues/221)
##### Features
- **debug:** add debug log to task ([c05a7b3](https://togithub.com/textlint/textlint/commit/c05a7b3))
Try to run `DEBUG=textlint* textlint README`
### [`v6.11.0`](https://togithub.com/textlint/textlint/releases/6.11.0)
[Compare Source](https://togithub.com/textlint/textlint/compare/6.10.0...6.11.0)
##### Features
- Don't load duplicated rule with ruleConfig [Issue #219](https://togithub.com/textlint/textlint/issues/219)
See for details.
- **RuleCreatorSet:** add #withoutDuplicated()([812b13e](https://togithub.com/textlint/textlint/commit/812b13e))
- **task:** use ruleCreatorSet#withoutDuplicated() for filtering duplicated rule([261d90f](https://togithub.com/textlint/textlint/commit/261d90f))
### [`v6.10.0`](https://togithub.com/textlint/textlint/releases/6.10.0)
[Compare Source](https://togithub.com/textlint/textlint/compare/6.9.0...6.10.0)
##### --experimental Features
These features are **experimental**
You can use it with `--experimental` flag
$ textlint --experimental
- **filter:** add filter-duplicated-process ([#217](https://togithub.com/textlint/textlint/issues/217))([bb87855](https://togithub.com/textlint/textlint/commit/bb87855))
Duplicated messages is ignored by default.
Duplicated messages is that have same position information(index) and same message.
- **filter:** re-enable sort messages by line and column ([#218](https://togithub.com/textlint/textlint/issues/218))([385a82c](https://togithub.com/textlint/textlint/commit/385a82c))
### [`v6.9.0`](https://togithub.com/textlint/textlint/releases/6.9.0)
[Compare Source](https://togithub.com/textlint/textlint/compare/6.8.0...6.9.0)
#### semi-Breaking change
Proposal [#212](https://togithub.com/textlint/textlint/issues/212) and implement [#214](https://togithub.com/textlint/textlint/issues/214)
Support "filters" field and Drop support "ignoring-rule"
These are experimental feature. 🚧
See [filter rule](https://togithub.com/textlint/textlint/blob/master/docs/filter-rule.md) document for details.
```js
{
"filters": {
"node-types": {
"nodeTypes": ["BlockQuote"]
}
},
"rules": {}
}
```
- Replace "ignoring rule" with "filter rule"
- Add "filters" filed support to textlint core
- Same convention with "rules" field
- Rename textlint-rule-ignore-node-types to [textlint-filter-rule-node-types](https://togithub.com/textlint/textlint-filter-rule-node-types).
- Filter rule use `shouldIgnore(range, { ruleId })` API
-
- textlint not allow (normal) rule to use `shouldIgnore`.
#### Features
**internal**
- Added `MessageProcessManager`.
- This manager process `TextLintMessage`s.
- Main usecase filter messages.
### [`v6.8.0`](https://togithub.com/textlint/textlint/releases/6.8.0)
[Compare Source](https://togithub.com/textlint/textlint/compare/6.7.0...6.8.0)
##### Features
- **ignore:** add `{ ruleId }` option object to `shouldIgnore` ([#208](https://togithub.com/textlint/textlint/issues/208)) ([de0ff6f](https://togithub.com/textlint/textlint/commit/de0ff6f))
When the `ruleId` of option object is matched ruleId of error message, filter only the message,
Default is filter all message in the ignoring range.
#### UseCase
this is wrong
Disable specific rule on the fly.
#### Breaking Change(experimental)
`shouldIgnore(range)` only ignore messages of the `ruleId`.
It means that `shouldIgnore(range)` === `shouldIgnore(range, { ruleId : this.id })`.
It attempt to make safe by default.
`"*"` is danger because `"*"` affect to other rules.
### [`v6.7.0`](https://togithub.com/textlint/textlint/releases/6.7.0)
[Compare Source](https://togithub.com/textlint/textlint/compare/6.6.0...6.7.0)
##### Features
- **node:** add "Comment" type ([#205](https://togithub.com/textlint/textlint/issues/205)) ([640f84d](https://togithub.com/textlint/textlint/commit/640f84d)), closes [#204](https://togithub.com/textlint/textlint/issues/204)
##### Performance Improvements
- **test:** run example tests by foreman ([#206](https://togithub.com/textlint/textlint/issues/206)) ([cc9e489](https://togithub.com/textlint/textlint/commit/cc9e489))
### [`v6.6.0`](https://togithub.com/textlint/textlint/releases/6.6.0)
[Compare Source](https://togithub.com/textlint/textlint/compare/6.5.1...6.6.0)
#### Features
- change `shouldIgnore(range)` API [#203](https://togithub.com/textlint/textlint/issues/203)
Previously, ignoring api is `shouldIgnore()`. [#194](https://togithub.com/textlint/textlint/issues/194)
But, I think that `shouldIgnore([start, end])` is better.
Because, ignoring rule is not always depended on .
It always depended on `` which is like `[number, number]`.
This change is breaking change, but ignoring feature is experimental support.
As as result, we have published as minor version.
Fix: [#202](https://togithub.com/textlint/textlint/issues/202)
Refs: [#193](https://togithub.com/textlint/textlint/issues/193)
### [`v6.5.1`](https://togithub.com/textlint/textlint/releases/6.5.1)
[Compare Source](https://togithub.com/textlint/textlint/compare/6.5.0...6.5.1)
##### Bug Fixes
- **npm:** fix "files" fileld ([264c867](https://togithub.com/textlint/textlint/commit/264c867))
### [`v6.5.0`](https://togithub.com/textlint/textlint/releases/6.5.0)
[Compare Source](https://togithub.com/textlint/textlint/compare/6.4.0...6.5.0)
##### Features
- **index:** export TextLintNodeType as TextLintNodeType ([f6c1e61](https://togithub.com/textlint/textlint/commit/f6c1e61))
You can use this `TextLintNodeType` value by the following way:
```js
import {TextLintNodeType} from "textlint";
console.log(TextLintNodeType.Str); // "Str"
```
Please see
### [`v6.4.0`](https://togithub.com/textlint/textlint/releases/6.4.0)
[Compare Source](https://togithub.com/textlint/textlint/compare/6.3.0...6.4.0)
##### Features
- Ignore rule support ([#194](https://togithub.com/textlint/textlint/issues/194))([da8c259](https://togithub.com/textlint/textlint/commit/da8c259))
- **index:** expose Constants Types ([#198](https://togithub.com/textlint/textlint/issues/198))([0941cb5](https://togithub.com/textlint/textlint/commit/0941cb5))
Ignore rule is experimental. It used with `--experimental`.
Please see
- `context.shouldIgnore(node)` :new:
### [`v6.3.0`](https://togithub.com/textlint/textlint/releases/6.3.0)
[Compare Source](https://togithub.com/textlint/textlint/compare/6.2.0...6.3.0)
##### Features
- **core:** add fileName to trailing of error message ([bd1f454](https://togithub.com/textlint/textlint/commit/bd1f454)), closes [#165](https://togithub.com/textlint/textlint/issues/165)
Show where the error is occurring.
When throw error in the rule.
```js
module.exports = function (context) {
var exports = {};
exports[context.Syntax.Str + ":exit"] = function () {
throw new Error("Error in rule");
};
return exports;
};
```
Before:
Error in rule
After:
Error in rule at ~/textlint/textlint/test/rule-context/fixtures/test.md
- **core:** always start asynchronous ([3ef2a62](https://togithub.com/textlint/textlint/commit/3ef2a62)), closes [#178](https://togithub.com/textlint/textlint/issues/178)
### [`v6.2.0`](https://togithub.com/textlint/textlint/releases/6.2.0)
[Compare Source](https://togithub.com/textlint/textlint/compare/6.1.1...6.2.0)
##### Features
- **config:** --config [@textlint/textlint-config](https://togithub.com/textlint/textlint-config) support ([a059df7](https://togithub.com/textlint/textlint/commit/a059df7))
See [Sharable Configuration](https://togithub.com/textlint/textlint/blob/master/docs/configuring.md#sharable-configuration) for details.
Example : [azu/textlint-config-readme: Sharable config for textlint](https://togithub.com/azu/textlint-config-readme)
You can use the config via two step.
npm i -D @azu/textlint-config-readme textlint
$(npm bin)/textlint --config @azu/textlint-config-readme README.md
### [`v6.1.1`](https://togithub.com/textlint/textlint/compare/6.1.0...6.1.1)
[Compare Source](https://togithub.com/textlint/textlint/compare/6.1.0...6.1.1)
### [`v6.1.0`](https://togithub.com/textlint/textlint/releases/6.1.0)
[Compare Source](https://togithub.com/textlint/textlint/compare/6.0.4...6.1.0)
##### Features
- **core:** sort messages by line and column ([9b2b400](https://togithub.com/textlint/textlint/commit/9b2b400)), closes [#126](https://togithub.com/textlint/textlint/issues/126)
**EDIT** It is reverted and released 6.1.1.
[`3651f9d`](https://togithub.com/textlint/textlint/commit/3651f9df61738d1ab49752885138cf436d8675e5)
[`106da2f`](https://togithub.com/textlint/textlint/commit/106da2f7fa8ae927266df346cbbc89759417c6f7)
This change break some test case that has a implementation dependent.
##### Bug Fixes
- **JSDoc:** fix jSDoc using jsdoc-to-assert ([3082435](https://togithub.com/textlint/textlint/commit/3082435))
- **plugin:** fix 3rd party plugin is not working ([0fae5bc](https://togithub.com/textlint/textlint/commit/0fae5bc)), closes [#180](https://togithub.com/textlint/textlint/issues/180)
- **config:** Config's `extensions` can include plugin's availableExtensions. ([98fb11d](https://togithub.com/textlint/textlint/commit/98fb11d))
### [`v6.0.4`](https://togithub.com/textlint/textlint/releases/6.0.4)
[Compare Source](https://togithub.com/textlint/textlint/compare/6.0.3...6.0.4)
#### Fixes
- 3rd party plugins doesn't work [#180](https://togithub.com/textlint/textlint/issues/180) [#181](https://togithub.com/textlint/textlint/issues/181)
e.g.)
When load a plugin, then textlint take cognizance available extensions like ".html".
But, textlint v6.0.3 could not add the additional extension to `engine.availableExtensions`.
As as result, alway passed! It is wrong.
### [`v6.0.3`](https://togithub.com/textlint/textlint/releases/6.0.3)
[Compare Source](https://togithub.com/textlint/textlint/compare/6.0.2...6.0.3)
#### Summary of Breaking
[@azer](https://togithub.com/azer) has unpublished all his npm module.
- [I’ve Just Liberated My Modules — Medium](https://medium.com/@azerbike/i-ve-just-liberated-my-modules-9045c06be67c)
- [npmjs.org tells me that left-pad is not available (404 page) · Issue #4 · azer/left-pad](https://togithub.com/azer/left-pad/issues/4)
[textlint-formatter](https://togithub.com/textlint/textlint-formatter) depened on his modules.
We have fixed [ths issue](https://togithub.com/textlint/textlint-formatter/pull/10) and patch release.
- [textlint is broken · Issue #175 · textlint/textlint](https://togithub.com/textlint/textlint/issues/175)
##### Bug Fixes
- **npm:** fix installing of textlint ([81cb2c4](https://togithub.com/textlint/textlint/commit/81cb2c4))
### [`v6.0.2`](https://togithub.com/textlint/textlint/releases/6.0.2)
[Compare Source](https://togithub.com/textlint/textlint/compare/6.0.1...6.0.2)
##### Features
- **d.t.s:** Add TextLintRuleContext to textlint.d.ts ([df2cb9d](https://togithub.com/textlint/textlint/commit/df2cb9d)), closes [#171](https://togithub.com/textlint/textlint/issues/171)
- **source-location:** improve error message ([0b1a792](https://togithub.com/textlint/textlint/commit/0b1a792))
##### Docs
- Document: update rule example(no-todo) [#168](https://togithub.com/textlint/textlint/issues/168)
- Document: versioning of rule module [#167](https://togithub.com/textlint/textlint/issues/167)
- Document: add rule example using Paragraph [#166](https://togithub.com/textlint/textlint/issues/166)
-
- [textlint-rule-en-max-word-count](https://togithub.com/azu/textlint-rule-en-max-word-count)
##### TxtNode/TxtAST [#170](https://togithub.com/textlint/textlint/issues/170)
- Rename TxtSyntax to `TxtAST`
- Split `TxtNode`to `ParentNode`(block) and `TextNode`(inline)
- Define `value` property to TextNode
- Add Compliance tests tool
- Add note about
- Add notice for Processor plugin creator
### [`v6.0.1`](https://togithub.com/textlint/textlint/releases/6.0.1)
[Compare Source](https://togithub.com/textlint/textlint/compare/5.7.0...6.0.1)
#### Breaking Change
**These changes won't affect user.**
- Remove `TextLintEngine#setRulesBaseDirectory`
Please use
new TextLintEngine({
rulesBaseDirectory: directory
});
- Remove `--experimental` flag from `--fix`
`TextLintEngine#fixFiles(files)` and `TextLintEngine# fixText(text, ext = ".txt")` have been removed at 6.0.
It was introduced at [5.5.3: --fix & --experimental support](https://togithub.com/textlint/textlint/releases/tag/5.5.3).
After hard refactoring, `TextLintEngine` was split to `TextFixEngine` and `TextLintEngine`.
Please use `TextFixEngine` instead of above method.
- `TextFixEngine#executeOnFiles(files): TextLintFixResult[]`
- `TextFixEngine#executeOnText(text, evt): TextLintFixResult[]`
#### Features
- Add `TextFixEngine`([`ae6aacc`](https://togithub.com/textlint/textlint/commit/ae6aacc)) [#146](https://togithub.com/textlint/textlint/issues/146)
- Add `TextLintCore#setupProcessors` ([`76ad42e`](https://togithub.com/textlint/textlint/commit/76ad42e)) [#146](https://togithub.com/textlint/textlint/issues/146)
- Add `--fix`
- Add `--dry-run` ([`9aef49f`](https://togithub.com/textlint/textlint/commit/9aef49f)) [#150](https://togithub.com/textlint/textlint/issues/150)
##### `--fix`
textlint 5.5~ introduces the `--fix` command line argument to automatically fix some rules.
$ textlint --fix README.md
### fixed by each rule
Lint: `textlint README.md`
![javascript-plugin-architecture zsh 2016-03-18 12-08-18](https://cloud.githubusercontent.com/assets/19714/13867423/21f9bc38-ed02-11e5-96c2-0f84198f72fc.png)
Fix: `textlint --fix --dry-run -f diff README.md` with dry-run mode
![javascript-plugin-architecture zsh 2016-03-18 12-07-19](https://cloud.githubusercontent.com/assets/19714/13867411/0ab13d8a-ed02-11e5-9d06-54f732e44bca.png)
Actually Fix: `textlint --fix README.md`
:memo:
Not all rules is **fixable**.
So, it is **difficult** that make all rules **fixable**.
##### What are rules fixable?
[![textlint rule](https://img.shields.io/badge/textlint-fixable-green.svg?style=social)](https://textlint.github.io/)
- [azu/textlint-rule-prh: textlint rule for prh.](https://togithub.com/azu/textlint-rule-prh)
- [azu/textlint-rule-preset-JTF-style: JTF日本語標準スタイルガイド for textlint.](https://togithub.com/azu/textlint-rule-preset-JTF-style)
- [textlint-rule-spellcheck-tech-word](https://togithub.com/azu/textlint-rule-spellcheck-tech-word)
- [io-monad/textlint-rule-common-misspellings: textlint rule to check common misspellings](https://togithub.com/io-monad/textlint-rule-common-misspellings)
- [io-monad/textlint-rule-general-novel-style-ja: textlint rule to follow general style of Japanese novels](https://togithub.com/io-monad/textlint-rule-general-novel-style-ja)
- [nodaguti/textlint-rule-spellchecker: textlint rule to check spellings with native spellchecker](https://togithub.com/nodaguti/textlint-rule-spellchecker)
- [nodaguti/textlint-rule-ginger: textlint rule to check your English grammar with Ginger Proofreading](https://togithub.com/nodaguti/textlint-rule-ginger)
You check [textlint/textlint Wiki](https://togithub.com/textlint/textlint/wiki/Collection-of-textlint-rule) also.
##### How to create fixable rule?
:information_source: Please See [Creating fixable rule](https://togithub.com/textlint/textlint/blob/master/docs/rule-fixable.md) for detail.
##### How to test the rule
Please use [textlint-tester](https://togithub.com/textlint/textlint-tester).
- [Release 0.5.1: fixer support · textlint/textlint-tester](https://togithub.com/textlint/textlint-tester/releases/tag/0.5.1)
### [`v5.7.0`](https://togithub.com/textlint/textlint/releases/5.7.0)
[Compare Source](https://togithub.com/textlint/textlint/compare/5.6.0...5.7.0)
##### Bug Fixes
- **source-location:** fix regression of source-location ([6550bf5](https://togithub.com/textlint/textlint/commit/6550bf5)), closes [https://github.com/textlint/textlint/pull/137/files?diff=split#r55196842](https://togithub.com/https://github.com/textlint/textlint/pull/137/files?diff=split/issues/r55196842)
##### Features
- **config:** add --no-color support ([0afdb5a](https://togithub.com/textlint/textlint/commit/0afdb5a))
- **formatter:** update textlint-formatter ([3e583a7](https://togithub.com/textlint/textlint/commit/3e583a7)) [textlint/textlint-formatter#8](https://togithub.com/textlint/textlint-formatter/pull/8)
`--format stylish` and `--format pretty-error` show \_fixable problem_s.
![fix zsh 2016-03-09 22-52-47](https://cloud.githubusercontent.com/assets/19714/13637246/ae40bdfa-e649-11e5-8d99-6b342d866a2e.png)
### [`v5.6.0`](https://togithub.com/textlint/textlint/releases/5.6.0)
[Compare Source](https://togithub.com/textlint/textlint/compare/5.5.5...5.6.0)
##### Features
- **rule:** `context.report` support index-based postion ([7a0c80b](https://togithub.com/textlint/textlint/commit/7a0c80b)), closes [#134](https://togithub.com/textlint/textlint/issues/134)
If you want to know for detail, please see the documents:
##### Motivation
Previously, textlint's `RuleError` support `line` and `column`.
- [textlint/rule.md at master · textlint/textlint](https://togithub.com/textlint/textlint/blob/master/docs/rule.md)
e.g.) It is wrong that `column` doen't consider line break.
```js
// surrogate pair
function stringToArray(value) {
return value.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\uD800-\uDFFF]/g) || [];
}
export default function (context) {
let {Syntax, RuleError, report, getSource} = context;
return {
[Syntax.Str](node){
const text = getSource(node);
const strArray = stringToArray(text);
for (let index = 0; index < strArray.length; index++) {
const item = strArray[index];
if (/❌/.test(item)) {
report(node, new RuleError("Use X insteadof ❌", {
column: index
}));
}
}
}
}
}
```
Input:
string
❌
string
Result of TextLintMessage:
```json
{
"message": "Use X insteadof ❌",
"line": 1,
"column": 7
}
```
Expected:
```json
{
"message": "Use X insteadof ❌",
"line": 2,
"column": 1
}
```
5.6.0 allow to write this like
```js
// surrogate pair
function stringToArray(value) {
return value.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\uD800-\uDFFF]/g) || [];
}
export default function (context) {
let {Syntax, RuleError, report, getSource} = context;
return {
[Syntax.Str](node){
const text = getSource(node);
const strArray = stringToArray(text);
for (let index = 0; index < strArray.length; index++) {
const item = strArray[index];
if (/❌/.test(item)) {
report(node, new RuleError("Use X insteadof ❌", {
index: index // <= index
}));
}
}
}
}
}
```
)
##### Performance Improvements
- **example:** use --cache-min [`9999999`](https://togithub.com/textlint/textlint/commit/9999999) ([d9035b3](https://togithub.com/textlint/textlint/commit/d9035b3))
### [`v5.5.5`](https://togithub.com/textlint/textlint/compare/5.5.4...5.5.5)
[Compare Source](https://togithub.com/textlint/textlint/compare/5.5.4...5.5.5)
### [`v5.5.4`](https://togithub.com/textlint/textlint/releases/5.5.4)
[Compare Source](https://togithub.com/textlint/textlint/compare/5.5.3...5.5.4)
##### Bug Fixes
- **cli:** fix detection of --experimental flag ([fe5b4bf](https://togithub.com/textlint/textlint/commit/fe5b4bf))
- **cli:** fix detection of cli ([ee69a6f](https://togithub.com/textlint/textlint/commit/ee69a6f))
Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Renovate Bot. View repository job log here.
This PR contains the following updates:
>= 5.5.0
->>= 11.2.5
Release Notes
textlint/textlint
### [`v11.2.5`](https://togithub.com/textlint/textlint/compare/textlint@11.2.4...textlint@11.2.5) [Compare Source](https://togithub.com/textlint/textlint/compare/textlint@11.2.4...textlint@11.2.5) ### [`v11.2.4`](https://togithub.com/textlint/textlint/compare/textlint@11.2.3...textlint@11.2.4) [Compare Source](https://togithub.com/textlint/textlint/compare/textlint@11.2.3...textlint@11.2.4) ### [`v11.2.3`](https://togithub.com/textlint/textlint/compare/textlint@11.2.2...textlint@11.2.3) [Compare Source](https://togithub.com/textlint/textlint/compare/textlint@11.2.2...textlint@11.2.3) ### [`v11.2.2`](https://togithub.com/textlint/textlint/compare/textlint@11.2.1...textlint@11.2.2) [Compare Source](https://togithub.com/textlint/textlint/compare/textlint@11.2.1...textlint@11.2.2) ### [`v11.2.1`](https://togithub.com/textlint/textlint/compare/textlint@11.2.0...textlint@11.2.1) [Compare Source](https://togithub.com/textlint/textlint/compare/textlint@11.2.0...textlint@11.2.1) ### [`v11.2.0`](https://togithub.com/textlint/textlint/compare/textlint@11.1.0...textlint@11.2.0) [Compare Source](https://togithub.com/textlint/textlint/compare/textlint@11.1.0...textlint@11.2.0) ### [`v11.1.0`](https://togithub.com/textlint/textlint/compare/textlint@11.0.2...textlint@11.1.0) [Compare Source](https://togithub.com/textlint/textlint/compare/textlint@11.0.2...textlint@11.1.0) ### [`v11.0.2`](https://togithub.com/textlint/textlint/compare/textlint@11.0.1...textlint@11.0.2) [Compare Source](https://togithub.com/textlint/textlint/compare/textlint@11.0.1...textlint@11.0.2) ### [`v11.0.1`](https://togithub.com/textlint/textlint/compare/textlint@11.0.0...textlint@11.0.1) [Compare Source](https://togithub.com/textlint/textlint/compare/textlint@11.0.0...textlint@11.0.1) ### [`v11.0.0`](https://togithub.com/textlint/textlint/compare/textlint@10.2.1...textlint@11.0.0) [Compare Source](https://togithub.com/textlint/textlint/compare/textlint@10.2.1...textlint@11.0.0) ### [`v10.2.1`](https://togithub.com/textlint/textlint/compare/textlint@10.2.0...textlint@10.2.1) [Compare Source](https://togithub.com/textlint/textlint/compare/textlint@10.2.0...textlint@10.2.1) ### [`v10.2.0`](https://togithub.com/textlint/textlint/compare/textlint@10.1.5...textlint@10.2.0) [Compare Source](https://togithub.com/textlint/textlint/compare/textlint@10.1.5...textlint@10.2.0) ### [`v10.1.5`](https://togithub.com/textlint/textlint/compare/textlint@10.1.4...textlint@10.1.5) [Compare Source](https://togithub.com/textlint/textlint/compare/textlint@10.1.4...textlint@10.1.5) ### [`v10.1.4`](https://togithub.com/textlint/textlint/compare/textlint@10.1.3...textlint@10.1.4) [Compare Source](https://togithub.com/textlint/textlint/compare/textlint@10.1.3...textlint@10.1.4) ### [`v10.1.3`](https://togithub.com/textlint/textlint/compare/textlint@10.1.2...textlint@10.1.3) [Compare Source](https://togithub.com/textlint/textlint/compare/textlint@10.1.2...textlint@10.1.3) ### [`v10.1.2`](https://togithub.com/textlint/textlint/compare/textlint@10.1.1...textlint@10.1.2) [Compare Source](https://togithub.com/textlint/textlint/compare/textlint@10.1.1...textlint@10.1.2) ### [`v10.1.1`](https://togithub.com/textlint/textlint/compare/textlint@10.1.0...textlint@10.1.1) [Compare Source](https://togithub.com/textlint/textlint/compare/textlint@10.1.0...textlint@10.1.1) ### [`v10.1.0`](https://togithub.com/textlint/textlint/compare/textlint@10.0.1...textlint@10.1.0) [Compare Source](https://togithub.com/textlint/textlint/compare/textlint@10.0.1...textlint@10.1.0) ### [`v10.0.1`](https://togithub.com/textlint/textlint/compare/textlint@10.0.0...textlint@10.0.1) [Compare Source](https://togithub.com/textlint/textlint/compare/textlint@10.0.0...textlint@10.0.1) ### [`v10.0.0`](https://togithub.com/textlint/textlint/compare/textlint@9.1.1...textlint@10.0.0) [Compare Source](https://togithub.com/textlint/textlint/compare/textlint@9.1.1...textlint@10.0.0) ### [`v9.1.1`](https://togithub.com/textlint/textlint/compare/textlint@9.1.0...textlint@9.1.1) [Compare Source](https://togithub.com/textlint/textlint/compare/textlint@9.1.0...textlint@9.1.1) ### [`v9.1.0`](https://togithub.com/textlint/textlint/compare/textlint@9.0.1...textlint@9.1.0) [Compare Source](https://togithub.com/textlint/textlint/compare/textlint@9.0.1...textlint@9.1.0) ### [`v9.0.1`](https://togithub.com/textlint/textlint/compare/textlint@9.0.0...textlint@9.0.1) [Compare Source](https://togithub.com/textlint/textlint/compare/textlint@9.0.0...textlint@9.0.1) ### [`v9.0.0`](https://togithub.com/textlint/textlint/compare/textlint@8.2.1...textlint@9.0.0) [Compare Source](https://togithub.com/textlint/textlint/compare/textlint@8.2.1...textlint@9.0.0) ### [`v8.2.1`](https://togithub.com/textlint/textlint/compare/textlint@8.2.0...textlint@8.2.1) [Compare Source](https://togithub.com/textlint/textlint/compare/textlint@8.2.0...textlint@8.2.1) ### [`v8.2.0`](https://togithub.com/textlint/textlint/compare/textlint@8.1.0...textlint@8.2.0) [Compare Source](https://togithub.com/textlint/textlint/compare/textlint@8.1.0...textlint@8.2.0) ### [`v8.1.0`](https://togithub.com/textlint/textlint/compare/textlint@8.0.1...textlint@8.1.0) [Compare Source](https://togithub.com/textlint/textlint/compare/textlint@8.0.1...textlint@8.1.0) ### [`v8.0.1`](https://togithub.com/textlint/textlint/compare/textlint@8.0.0...textlint@8.0.1) [Compare Source](https://togithub.com/textlint/textlint/compare/textlint@8.0.0...textlint@8.0.1) ### [`v8.0.0`](https://togithub.com/textlint/textlint/compare/v7.4.0...textlint@8.0.0) [Compare Source](https://togithub.com/textlint/textlint/compare/v7.4.0...textlint@8.0.0) ### [`v7.4.0`](https://togithub.com/textlint/textlint/releases/v7.4.0) [Compare Source](https://togithub.com/textlint/textlint/compare/v7.3.0...v7.4.0) #### Features - cli: Support quiet mode [#268](https://togithub.com/textlint/textlint/issues/268) Now, work `textlint --quite`. Thanks to [@fand](https://togithub.com/fand) ### [`v7.3.0`](https://togithub.com/textlint/textlint/releases/v7.3.0) [Compare Source](https://togithub.com/textlint/textlint/compare/v7.2.2...v7.3.0) #### Features - [#261](https://togithub.com/textlint/textlint/issues/261) [#264](https://togithub.com/textlint/textlint/issues/264) Support glob pattern `$ textlint "*pattern"` (need to wrap `"`) ```sh textlint "./docs/" ### Results [ 'docs/configuring.md', 'docs/faq/failed-to-load-textlints-module.md', 'docs/faq/line-column-or-index.md', 'docs/filter-rule.md', 'docs/formatter.md', 'docs/getting-started.md', 'docs/plugin.md', 'docs/README.md', 'docs/rule-advanced.md', 'docs/rule-fixable.md', 'docs/rule-preset.md', 'docs/rule.md', 'docs/txtnode.md', 'docs/use-as-modules.md' ] ``` ```sh textlint "./docs/**" ### Results [ 'docs/configuring.md', 'docs/faq/failed-to-load-textlints-module.md', 'docs/faq/line-column-or-index.md', 'docs/filter-rule.md', 'docs/formatter.md', 'docs/getting-started.md', 'docs/plugin.md', 'docs/README.md', 'docs/rule-advanced.md', 'docs/rule-fixable.md', 'docs/rule-preset.md', 'docs/rule.md', 'docs/txtnode.md', 'docs/use-as-modules.md' ] ``` ```sh textlint "./docs/faq/*.md" ### Results [ 'docs/faq/failed-to-load-textlints-module.md', 'docs/faq/line-column-or-index.md' ] ``` ### [`v7.2.2`](https://togithub.com/textlint/textlint/releases/v7.2.2) [Compare Source](https://togithub.com/textlint/textlint/compare/7.2.1...v7.2.2) **Fixes**: - fix(config): use rc-config-loader insteadof rc-loader [#262](https://togithub.com/textlint/textlint/issues/262) [#39](https://togithub.com/textlint/textlint/issues/39) This change also fix following issue. webpack2 + textlint throw error like this. ERROR in ./~/rc/index.js Module parse failed: /Users/azu/.ghq/github.com/textlint/textlint.github.io/node_modules/rc/index.js Unexpected character '#' (1:0) You may need an appropriate loader to handle this file type. | #! /usr/bin/env node | var cc = require('./lib/utils') | var join = require('path').join @ ./~/rc-loader/dist/index.js 10:10-23 @ ./~/textlint/lib/config/config-loader.js @ ./~/textlint/lib/config/config.js @ ./~/textlint/lib/cli.js @ ./~/textlint/lib/index.js @ ./src/components/TextlintDemo/TextlintEditor.js @ ./src/components/TextlintDemo.js @ ./src/components/App.js @ ./src/index.js ### [`v7.2.1`](https://togithub.com/textlint/textlint/releases/7.2.1) [Compare Source](https://togithub.com/textlint/textlint/compare/7.2.0...7.2.1) ##### Bug Fixes - **config:** --cache-location doesn't support directory yet. ([325df3f](https://togithub.com/textlint/textlint/commit/325df3f)) ### [`v7.2.0`](https://togithub.com/textlint/textlint/releases/7.2.0) [Compare Source](https://togithub.com/textlint/textlint/compare/7.1.4...7.2.0) ##### Features - **cli:** --cache && --cache-location support ([#251](https://togithub.com/textlint/textlint/issues/251)) ([04533c7](https://togithub.com/textlint/textlint/commit/04533c7)) `--cache`: Store the info about processed files in order to only operate on the changed ones. ```sh textlint --cache docs/ ``` `--cache-location`: Path to the cache location. Default: `.textlintcache` ### [`v7.1.4`](https://togithub.com/textlint/textlint/compare/7.1.3...7.1.4) [Compare Source](https://togithub.com/textlint/textlint/compare/7.1.3...7.1.4) ### [`v7.1.3`](https://togithub.com/textlint/textlint/releases/7.1.3) [Compare Source](https://togithub.com/textlint/textlint/compare/7.1.2...7.1.3) ##### Bug Fixes - **bin:** not use Arrow Function ([f69ae96](https://togithub.com/textlint/textlint/commit/f69ae96)) ##### Performance Improvements - **test:** use yarn for testing example ([#242](https://togithub.com/textlint/textlint/issues/242)) ([4d23836](https://togithub.com/textlint/textlint/commit/4d23836)) ### [`v7.1.2`](https://togithub.com/textlint/textlint/releases/7.1.2) [Compare Source](https://togithub.com/textlint/textlint/compare/7.1.1...7.1.2) ##### Bug Fixes - use is-file insteadof exists-sync ([d15ff60](https://togithub.com/textlint/textlint/commit/d15ff60)) ### [`v7.1.1`](https://togithub.com/textlint/textlint/releases/7.1.1) [Compare Source](https://togithub.com/textlint/textlint/compare/7.1.0...7.1.1) ##### Bug Fixes - **d.ts:** export as a class ([f757b4b](https://togithub.com/textlint/textlint/commit/f757b4b)) - **fixer:** fix to work commands that accept `Node` ([ed1d52b](https://togithub.com/textlint/textlint/commit/ed1d52b)), closes [#229](https://togithub.com/textlint/textlint/issues/229) - **jsdoc:** fix invalid JSDoc ([aca3148](https://togithub.com/textlint/textlint/commit/aca3148)) ### [`v7.1.0`](https://togithub.com/textlint/textlint/releases/7.1.0) [Compare Source](https://togithub.com/textlint/textlint/compare/7.0.2...7.1.0) ##### Features - **cli:** `--init` fill with installed rules ([3948147](https://togithub.com/textlint/textlint/commit/3948147)), closes [#129](https://togithub.com/textlint/textlint/issues/129) ### [`v7.0.2`](https://togithub.com/textlint/textlint/releases/7.0.2) [Compare Source](https://togithub.com/textlint/textlint/compare/7.0.1...7.0.2) ##### Bug Fixes - **engine:** implement toJSON to own Map ([7e95966](https://togithub.com/textlint/textlint/commit/7e95966)) related: [#231](https://togithub.com/textlint/textlint/issues/231) - **rue-creator-set:** fix unexpected filter rules ([a2988b5](https://togithub.com/textlint/textlint/commit/a2988b5)) ### [`v7.0.1`](https://togithub.com/textlint/textlint/releases/7.0.1) [Compare Source](https://togithub.com/textlint/textlint/compare/7.0.0...7.0.1) ##### Bug Fixes - **core:** remove `--experimental` flag of `shouldIgnore()` ([b1e2a17](https://togithub.com/textlint/textlint/commit/b1e2a17)) ### [`v7.0.0`](https://togithub.com/textlint/textlint/releases/7.0.0) [Compare Source](https://togithub.com/textlint/textlint/compare/6.11.1...7.0.0) #### Features ##### Filter rule 🆕 - "filter rule" support [#216](https://togithub.com/textlint/textlint/issues/216) [#207](https://togithub.com/textlint/textlint/issues/207) Filter rule provide filtering error that is reported by linting rule. For example, [textlint-filter-rule-comments](https://togithub.com/textlint/textlint-filter-rule-comments) provide filtering function by using comments. Disables all rules between comments ` Allow to short `textlint-filter-rule-comments` to `comments`. Add filter rule name to `filters` field. ```json { "filters": { "comments": true } } ``` One more example, `very-nice-rule` is useful, but you want to ignore some reported error in your text. `very-nice-rule` also check the `BlockQuote` text, but you want to ignore the `BlockQuote` text. [textlint-filter-rule-node-types](https://togithub.com/textlint/textlint-filter-rule-node-types) rule resolve the issue. ```json { "filters": { "node-types": { "nodeTypes": ["BlockQuote"] } }, "rules": { "very-nice-rule": true } } ``` ##### Sharable Config 🆕 - **config:** --config [@textlint/textlint-config](https://togithub.com/textlint/textlint-config) support ([a059df7](https://togithub.com/textlint/textlint/commit/a059df7)) See [Sharable Configuration](https://togithub.com/textlint/textlint/blob/master/docs/configuring.md#sharable-configuration) for details. Example : [azu/textlint-config-readme: Sharable config for textlint](https://togithub.com/azu/textlint-config-readme) You can use the config via two step. npm i -D @azu/textlint-config-readme textlint $(npm bin)/textlint --config @azu/textlint-config-readme README.md #### Breaking Change ⚠️ textlint 7.0 has some breaking change. It will not affect textlint user, but affect to textlint rule developer. ##### Ignore duplicated messages by default [#209](https://togithub.com/textlint/textlint/issues/209) Duplicated messages is ignored by default. Duplicated messages is that have same range and same message. (Not depended on ruleId. ruleId is flexible property) ##### Sort messages by line and column [#218](https://togithub.com/textlint/textlint/issues/218) textlint 7.0 sort message by line and column. The rule that depended on the order of messages may fail test. ##### Drop Node.js 0.12 support [#215](https://togithub.com/textlint/textlint/issues/215) textlint 7.0 not support Node.js 0.12. (But still it work) **Requirement**: Node.js 4.0.0 >= ### [`v6.11.1`](https://togithub.com/textlint/textlint/releases/6.11.1) [Compare Source](https://togithub.com/textlint/textlint/compare/6.11.0...6.11.1) #### Documents - Create [AST explorer for textlint](https://textlint.github.io/astexplorer/) ([#223](https://togithub.com/textlint/textlint/issues/223)) [![ast-explorer for textlint](https://raw.githubusercontent.com/textlint/textlint/master/docs/resources/ast-explorer.png)](https://textlint.github.io/astexplorer/) [AST explorer for textlint](https://textlint.github.io/astexplorer/) is useful for understanding AST. - Add filter rules document [#221](https://togithub.com/textlint/textlint/issues/221) ##### Features - **debug:** add debug log to task ([c05a7b3](https://togithub.com/textlint/textlint/commit/c05a7b3)) Try to run `DEBUG=textlint* textlint README` ### [`v6.11.0`](https://togithub.com/textlint/textlint/releases/6.11.0) [Compare Source](https://togithub.com/textlint/textlint/compare/6.10.0...6.11.0) ##### Features - Don't load duplicated rule with ruleConfig [Issue #219](https://togithub.com/textlint/textlint/issues/219) SeeRenovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "
rebase!
".:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot. View repository job log here.