Skip to content

Commit 1b57956

Browse files
committed
Add custom message support to no-excluded-rules rule for excluded patterns
- Modified `excludedRuleTexts` and `excludedRegExpPatterns` options to accept either string or `{pattern, message}` object format - Updated option schema to use union type accepting string or object with optional custom message - Added validation and transformation pipeline for pattern objects in schema - Updated option descriptions to reflect new `{pattern, message}` format support - Regenerated rule documentation with
1 parent 0a55758 commit 1b57956

File tree

4 files changed

+730
-74
lines changed

4 files changed

+730
-74
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@ The format is based on [Keep a Changelog], and this project adheres to [Semantic
77
[Keep a Changelog]: https://keepachangelog.com/en/1.0.0/
88
[Semantic Versioning]: https://semver.org/spec/v2.0.0.html
99

10+
## Unreleased
11+
12+
### Added
13+
14+
- Custom messages support for `no-excluded-rules` linter rule. [#275]
15+
16+
[#275]: https://github.com/AdguardTeam/AGLint/issues/275
17+
1018
## [4.0.0-beta.5] - 2025-12-22
1119

1220
### Added

0 commit comments

Comments
 (0)