Skip to content

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Jun 29, 2025

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:

{
  "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

Bug Fixes

Documentation

Testing

CI

Dependency Updates

Other Changes

New Contributors

Full Changelog: v15.0.1...v15.1.0

@github-actions github-actions bot added the Type: Release Related to release process label Jun 29, 2025
@azu azu enabled auto-merge (squash) June 29, 2025 15:05
@azu azu disabled auto-merge June 29, 2025 15:05
@azu azu merged commit 86a95c9 into master Jun 29, 2025
@azu azu deleted the release/15.1.0-1751209169 branch June 29, 2025 15:05
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Release Related to release process
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support severity: "info" level for rules and formatters
1 participant