Change Request: Remove LintMessage#nodeType
and TestCaseError#type
Β #19029
Open
Description
ESLint version
v10.0.0
What problem do you want to solve?
In #18485 (comment) it was agreed to deprecate the nodeType
property on LintMessage
and remove it in a future release (since that will be breaking change).
LintMessage#nodeType
and TestCaseError#type
have been deprecated in #19019, so we should probably remove these two properties in v10.
This change will have the most visible impact on the unit tests in eslint
, where the deprecated properties are still found in a number of occurrences and will need to be removed, especially TestCaseError#type
in rule tests.
What do you think is the correct solution?
Remove LintMessage#nodeType
and TestCaseError#type
in ESLint v10.
- Remove the properties and update the logic if necessary
- Update type definitions
- Update unit tests
- Test the changes with other packages, especially
@eslint/markdown
and@eslint/json
to ensure that they will still work - Note the breaking changes for plugin developers in the migration guide
Participation
- I am willing to submit a pull request for this change.
Additional comments
No response
Metadata
Assignees
Labels
Type
Projects
Status
Blocked