Skip to content
New issue

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

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

Already on GitHub? # to your account

Unexpected top-level property "name" with ESLint 8 #489

Closed
jhnns opened this issue Jul 19, 2024 · 1 comment · Fixed by #490 or qdraw/starsky#1686
Closed

Unexpected top-level property "name" with ESLint 8 #489

jhnns opened this issue Jul 19, 2024 · 1 comment · Fixed by #490 or qdraw/starsky#1686
Labels

Comments

@jhnns
Copy link

jhnns commented Jul 19, 2024

Description

ca9e9b4 introduced a name property on the recommended configs. ESLint 8, however, will throw the following error because of the unknown property:

ESLint: 8.57.0

Error: ESLint configuration in .eslintrc.json » ../../base.js » plugin:promise/recommended is invalid:
	- Unexpected top-level property "name".

Steps to Reproduce

  1. Use recommended config with ESLint 8 and legacy config format (not sure if it's also an issue with flat configs)

Expected behavior: The plugin should work with ESLint 8 as it's still listed in the peerDependencies

Actual behavior: It throws

Versions

  • Node version: 22.3.0
  • ESLint version: 8.57.0
  • eslint-plugin-promise version: 6.5.0
Copy link
Contributor

🎉 This issue has been resolved in version 6.5.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

# for free to join this conversation on GitHub. Already have an account? # to comment