Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add JSDoc type annotations and Update @types/eslint Version #3825

Closed
wants to merge 2 commits into from

Conversation

y-hsgw
Copy link
Contributor

@y-hsgw y-hsgw commented Sep 16, 2024

Addressed the following:

  • Added JSDoc annotations to rules.
  • Updated @types/eslintversion
    Note: Updated because the current version does not define the type for RuleMetaData.hasSuggestions.

Related Issue: #3728

Copy link

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@types/eslint@=8.56.10 None 0 192 kB types

🚮 Removed packages: npm/@types/eslint@=7.2.10

View full report↗︎

@y-hsgw y-hsgw changed the title Add JSDoc type annotations Add JSDoc type annotations and Update @types/eslint Version Sep 16, 2024
@@ -51,7 +51,7 @@
"@babel/plugin-syntax-do-expressions": "^7.24.7",
"@babel/plugin-syntax-function-bind": "^7.24.7",
"@babel/preset-react": "^7.24.7",
"@types/eslint": "=7.2.10",
"@types/eslint": "=8.56.10",
Copy link
Member

Choose a reason for hiding this comment

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

this is done intentionally, since we support older eslint versions - also what about the estree types?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I wasn't aware that the support for older ESLint versions was intentional, and I hadn't considered the estree types either. Given this, I'll go ahead and close the PR for now.
Apologies for the confusion 🙇‍♂️

@y-hsgw y-hsgw closed this Sep 16, 2024
@y-hsgw y-hsgw deleted the add-jsdoc-type-annotations branch September 16, 2024 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants