Skip to content

Conversation

error-four-o-four
Copy link

@error-four-o-four error-four-o-four commented Jun 8, 2025

Hey there,

eslint introduced new declarations for meta.deprecated: DeprecatedInfo

This PR updates the metadata of the rules n/shebang and n/no-hide-core-modules to use a detailed deprecation object instead of a boolean flag.

Unfortunately eslint-doc-generator hasn't implemented this yet #512. Therefore the replacedBy description is removed in shebang.md

Apart from that:
✅ files are formatted
✅ files are linted
✅ tests pass

@@ -1,6 +1,6 @@
# Require correct usage of hashbang (`n/shebang`)

❌ This rule is deprecated. It was replaced by [`n/hashbang`](hashbang.md).
❌ This rule is deprecated.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's just hold it -- wait for it to be supported in `eslint-doc-generator'.

@aladdin-add aladdin-add marked this pull request as draft June 10, 2025 16:21
@scagood
Copy link

scagood commented Jun 30, 2025

Linking the PR in eslint-doc-generator so we can track it too :)
bmish/eslint-doc-generator#730

@scagood scagood added enhancement blocked rule:update An update to a current rule labels Aug 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked enhancement rule:update An update to a current rule
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants