Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
README.md | 2025-06-29 | 4.2 kB | |
v15.1.0 source code.tar.gz | 2025-06-29 | 3.3 MB | |
v15.1.0 source code.zip | 2025-06-29 | 4.0 MB | |
Totals: 3 Items | 7.3 MB | 0 |
What's Changed
Key Features
This release includes two major improvements to textlint's severity system and configuration handling:
1. New info
Severity Level (PR [#1610])
We've implemented proper support for the info
severity level, which provides more flexible linting for informational messages that are less critical than warnings.
Background: Previously, info
had the same value as none
(0), causing confusion. Now info
has its own distinct value (3) and is properly supported across all formatters.
Use Case: This is particularly useful for AI-assisted writing rules, such as those in textlint-ja/textlint-rule-preset-ai-writing, which provides LLM-oriented rules for guidelines. These rules can be somewhat broad and may produce false positives if used as errors, but when reported as info
, they provide more flexible feedback for AI agents and human writers.
Severity Levels:
- none: 0
- Disabled
- warning: 1
- Warning (yellow)
- error: 2
- Error (red)
- info: 3
- Informational (green)
Example Usage:
:::json
{
"rules": {
"my-rule": {
"severity": "info" // Now properly displays as green "info"
}
}
}
2. Fixed Preset Severity Preservation (PR [#1607])
Fixed an issue where preset-defined severity settings were lost when users provided partial rule configuration in their .textlintrc
file.
Problem: When using a preset that defined severity levels for rules, those settings were completely lost if users added any custom options for those rules.
Solution: Implemented a clear priority system where user configuration completely overrides preset configuration when provided (no merging), making behavior predictable and consistent.
Related Issues: Fixes [#1608], [#1606]
Features
- feat: implement
info
severity level by @azu in https://github.com/textlint/textlint/pull/1610
Bug Fixes
- fix: preserve preset severity settings when user provides
true
config by @azu in https://github.com/textlint/textlint/pull/1607
Documentation
- chore: fix typos by @noritaka1166 in https://github.com/textlint/textlint/pull/1604
Testing
- test(config-loader): add user config is
true
case by @azu in https://github.com/textlint/textlint/pull/1609
CI
- fix: skip deploy-pr-preview for external repository PRs by @devin-ai-integration in https://github.com/textlint/textlint/pull/1605
Dependency Updates
- chore: update npm-run-all2 from v5 to v8 by @noritaka1166 in https://github.com/textlint/textlint/pull/1593
- chore(deps): update patch updates (patch) by @renovate in https://github.com/textlint/textlint/pull/1595
- chore(deps): update eslint to ^8.34.1 (patch) by @renovate in https://github.com/textlint/textlint/pull/1597
- chore: update lint-staged from v13 to v16 by @noritaka1166 in https://github.com/textlint/textlint/pull/1596
- fix(deps): update dependency zod to ^3.25.67 by @renovate in https://github.com/textlint/textlint/pull/1598
- chore: update globals from v15 to v16 by @noritaka1166 in https://github.com/textlint/textlint/pull/1599
- chore(deps): update dependency vitest to ^3.2.4 by @renovate in https://github.com/textlint/textlint/pull/1600
- chore(deps): update dependency @types/lodash to ^4.17.18 by @renovate in https://github.com/textlint/textlint/pull/1602
- fix(deps): update dependency @modelcontextprotocol/sdk to ^1.13.0 by @renovate in https://github.com/textlint/textlint/pull/1603
- chore: update eslint-config-prettier from v9 to v10 by @noritaka1166 in https://github.com/textlint/textlint/pull/1601
Other Changes
- Update 2025-06-22-textlint-15.md by @azu in https://github.com/textlint/textlint/pull/1592
- Update 2025-06-22-textlint-15.md by @azu in https://github.com/textlint/textlint/pull/1594
New Contributors
- @devin-ai-integration made their first contribution in https://github.com/textlint/textlint/pull/1605
Full Changelog: https://github.com/textlint/textlint/compare/v15.0.1...v15.1.0