textlint/textlint (textlint)
### [`v14.2.1`](https://redirect.github.com/textlint/textlint/releases/tag/v14.2.1)
[Compare Source](https://redirect.github.com/textlint/textlint/compare/v14.2.0...v14.2.1)
#### What's Changed
##### Documentation
- docs(textlint): improve docs for linter.lintText by [@davmillar](https://redirect.github.com/davmillar) in [https://github.com/textlint/textlint/pull/1424](https://redirect.github.com/textlint/textlint/pull/1424)
- docs(image): make the border of get-started-steps images transparent by [@lumirlumir](https://redirect.github.com/lumirlumir) in [https://github.com/textlint/textlint/pull/1425](https://redirect.github.com/textlint/textlint/pull/1425)
##### Refactoring
- refactor(formatter): import formatter as static by [@azu](https://redirect.github.com/azu) in [https://github.com/textlint/textlint/pull/1426](https://redirect.github.com/textlint/textlint/pull/1426)
##### Dependency Updates
- fix(deps): update dependency [@babel/preset-env](https://redirect.github.com/babel/preset-env) to ^7.25.4 by [@renovate](https://redirect.github.com/renovate) in [https://github.com/textlint/textlint/pull/1419](https://redirect.github.com/textlint/textlint/pull/1419)
- fix(deps): update dependency [@babel/cli](https://redirect.github.com/babel/cli) to ^7.25.6 by [@renovate](https://redirect.github.com/renovate) in [https://github.com/textlint/textlint/pull/1421](https://redirect.github.com/textlint/textlint/pull/1421)
##### Other Changes
- chore(deps): update peter-evans/create-pull-request action to v7 by [@renovate](https://redirect.github.com/renovate) in [https://github.com/textlint/textlint/pull/1420](https://redirect.github.com/textlint/textlint/pull/1420)
#### New Contributors
- [@davmillar](https://redirect.github.com/davmillar) made their first contribution in [https://github.com/textlint/textlint/pull/1424](https://redirect.github.com/textlint/textlint/pull/1424)
- [@lumirlumir](https://redirect.github.com/lumirlumir) made their first contribution in [https://github.com/textlint/textlint/pull/1425](https://redirect.github.com/textlint/textlint/pull/1425)
**Full Changelog**: https://github.com/textlint/textlint/compare/v14.2.0...v14.2.1
### [`v14.2.0`](https://redirect.github.com/textlint/textlint/releases/tag/v14.2.0)
[Compare Source](https://redirect.github.com/textlint/textlint/compare/v14.1.0...v14.2.0)
#### What's Changed
##### Features
- feat(textlint-scripts): update to pkg-to-readme@3 and `textlint-scripts init --yes` by [@azu](https://redirect.github.com/azu) in [https://github.com/textlint/textlint/pull/1417](https://redirect.github.com/textlint/textlint/pull/1417)
This release will reduce audit warning.
**Full Changelog**: https://github.com/textlint/textlint/compare/v14.1.0...v14.2.0
### [`v14.1.0`](https://redirect.github.com/textlint/textlint/releases/tag/v14.1.0)
[Compare Source](https://redirect.github.com/textlint/textlint/compare/v14.0.5...v14.1.0)
#### What's Changed
##### Features
- feat(textlint): Add `linter.scanFilePath` API by [@azu](https://redirect.github.com/azu) in [https://github.com/textlint/textlint/pull/1414](https://redirect.github.com/textlint/textlint/pull/1414)
Change Details
- Update to glob@v10
- Rewrite `find-util` - it is used in `scanFilePath`
- Preserve old behavior by using `old-find-util`
- We change this in next major updates
- Ref [https://github.com/textlint/textlint/issues/1412](https://redirect.github.com/textlint/textlint/issues/1412)
- Add `linter.scanFilePath(filePath)` API
- Ref [https://github.com/textlint/textlint/issues/1411](https://redirect.github.com/textlint/textlint/issues/1411)
- Add tests
##### `linter.scanFilePath` API Usage
If you want to know the file path is lintable or not, please use `scanFilePath` API.
```ts
import { createLinter, loadTextlintrc } from "textlint";
const textlintrcDescriptor = await loadTextlintrc();
const linter = createLinter({
descriptor: textlintrcDescriptor
});
const result = await linter.scanFilePath("README.md");
// result.status is "ok" or "ignored" or "error"
if (result.status === "ok") {
const lintResult = await linter.lintText("README content", "README.md");
console.log(lintResult);
}
```
`linter.scanFilePath` is for combinating with `lintText` API because `lintText` API does not ignore any file.
- Original Issue: [https://github.com/textlint/textlint/issues/1408](https://redirect.github.com/textlint/textlint/issues/1408)
##### Dependency Updates
- fix(deps): update dependency [@babel/preset-env](https://redirect.github.com/babel/preset-env) to ^7.25.3 by [@renovate](https://redirect.github.com/renovate) in [https://github.com/textlint/textlint/pull/1404](https://redirect.github.com/textlint/textlint/pull/1404)
- chore(deps): update dependency eol-converter-cli to ^1.1.0 by [@renovate](https://redirect.github.com/renovate) in [https://github.com/textlint/textlint/pull/1405](https://redirect.github.com/textlint/textlint/pull/1405)
##### Other Changes
- fix(docs): remove Lato from the documentation website by [@joaopalmeiro](https://redirect.github.com/joaopalmeiro) in [https://github.com/textlint/textlint/pull/1407](https://redirect.github.com/textlint/textlint/pull/1407)
#### New Contributors
- [@joaopalmeiro](https://redirect.github.com/joaopalmeiro) made their first contribution in [https://github.com/textlint/textlint/pull/1407](https://redirect.github.com/textlint/textlint/pull/1407)
**Full Changelog**: https://github.com/textlint/textlint/compare/v14.0.5...v14.1.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 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 contains the following updates:
14.0.5
->14.2.1
Release Notes
textlint/textlint (textlint)
### [`v14.2.1`](https://redirect.github.com/textlint/textlint/releases/tag/v14.2.1) [Compare Source](https://redirect.github.com/textlint/textlint/compare/v14.2.0...v14.2.1) #### What's Changed ##### Documentation - docs(textlint): improve docs for linter.lintText by [@davmillar](https://redirect.github.com/davmillar) in [https://github.com/textlint/textlint/pull/1424](https://redirect.github.com/textlint/textlint/pull/1424) - docs(image): make the border of get-started-steps images transparent by [@lumirlumir](https://redirect.github.com/lumirlumir) in [https://github.com/textlint/textlint/pull/1425](https://redirect.github.com/textlint/textlint/pull/1425) ##### Refactoring - refactor(formatter): import formatter as static by [@azu](https://redirect.github.com/azu) in [https://github.com/textlint/textlint/pull/1426](https://redirect.github.com/textlint/textlint/pull/1426) ##### Dependency Updates - fix(deps): update dependency [@babel/preset-env](https://redirect.github.com/babel/preset-env) to ^7.25.4 by [@renovate](https://redirect.github.com/renovate) in [https://github.com/textlint/textlint/pull/1419](https://redirect.github.com/textlint/textlint/pull/1419) - fix(deps): update dependency [@babel/cli](https://redirect.github.com/babel/cli) to ^7.25.6 by [@renovate](https://redirect.github.com/renovate) in [https://github.com/textlint/textlint/pull/1421](https://redirect.github.com/textlint/textlint/pull/1421) ##### Other Changes - chore(deps): update peter-evans/create-pull-request action to v7 by [@renovate](https://redirect.github.com/renovate) in [https://github.com/textlint/textlint/pull/1420](https://redirect.github.com/textlint/textlint/pull/1420) #### New Contributors - [@davmillar](https://redirect.github.com/davmillar) made their first contribution in [https://github.com/textlint/textlint/pull/1424](https://redirect.github.com/textlint/textlint/pull/1424) - [@lumirlumir](https://redirect.github.com/lumirlumir) made their first contribution in [https://github.com/textlint/textlint/pull/1425](https://redirect.github.com/textlint/textlint/pull/1425) **Full Changelog**: https://github.com/textlint/textlint/compare/v14.2.0...v14.2.1 ### [`v14.2.0`](https://redirect.github.com/textlint/textlint/releases/tag/v14.2.0) [Compare Source](https://redirect.github.com/textlint/textlint/compare/v14.1.0...v14.2.0) #### What's Changed ##### Features - feat(textlint-scripts): update to pkg-to-readme@3 and `textlint-scripts init --yes` by [@azu](https://redirect.github.com/azu) in [https://github.com/textlint/textlint/pull/1417](https://redirect.github.com/textlint/textlint/pull/1417) This release will reduce audit warning. **Full Changelog**: https://github.com/textlint/textlint/compare/v14.1.0...v14.2.0 ### [`v14.1.0`](https://redirect.github.com/textlint/textlint/releases/tag/v14.1.0) [Compare Source](https://redirect.github.com/textlint/textlint/compare/v14.0.5...v14.1.0) #### What's Changed ##### Features - feat(textlint): Add `linter.scanFilePath` API by [@azu](https://redirect.github.com/azu) in [https://github.com/textlint/textlint/pull/1414](https://redirect.github.com/textlint/textlint/pull/1414) Change Details - Update to glob@v10 - Rewrite `find-util` - it is used in `scanFilePath` - Preserve old behavior by using `old-find-util` - We change this in next major updates - Ref [https://github.com/textlint/textlint/issues/1412](https://redirect.github.com/textlint/textlint/issues/1412) - Add `linter.scanFilePath(filePath)` API - Ref [https://github.com/textlint/textlint/issues/1411](https://redirect.github.com/textlint/textlint/issues/1411) - Add tests ##### `linter.scanFilePath` API Usage If you want to know the file path is lintable or not, please use `scanFilePath` API. ```ts import { createLinter, loadTextlintrc } from "textlint"; const textlintrcDescriptor = await loadTextlintrc(); const linter = createLinter({ descriptor: textlintrcDescriptor }); const result = await linter.scanFilePath("README.md"); // result.status is "ok" or "ignored" or "error" if (result.status === "ok") { const lintResult = await linter.lintText("README content", "README.md"); console.log(lintResult); } ``` `linter.scanFilePath` is for combinating with `lintText` API because `lintText` API does not ignore any file. - Original Issue: [https://github.com/textlint/textlint/issues/1408](https://redirect.github.com/textlint/textlint/issues/1408) ##### Dependency Updates - fix(deps): update dependency [@babel/preset-env](https://redirect.github.com/babel/preset-env) to ^7.25.3 by [@renovate](https://redirect.github.com/renovate) in [https://github.com/textlint/textlint/pull/1404](https://redirect.github.com/textlint/textlint/pull/1404) - chore(deps): update dependency eol-converter-cli to ^1.1.0 by [@renovate](https://redirect.github.com/renovate) in [https://github.com/textlint/textlint/pull/1405](https://redirect.github.com/textlint/textlint/pull/1405) ##### Other Changes - fix(docs): remove Lato from the documentation website by [@joaopalmeiro](https://redirect.github.com/joaopalmeiro) in [https://github.com/textlint/textlint/pull/1407](https://redirect.github.com/textlint/textlint/pull/1407) #### New Contributors - [@joaopalmeiro](https://redirect.github.com/joaopalmeiro) made their first contribution in [https://github.com/textlint/textlint/pull/1407](https://redirect.github.com/textlint/textlint/pull/1407) **Full Changelog**: https://github.com/textlint/textlint/compare/v14.0.5...v14.1.0Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.