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

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

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 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment