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

ESLint Configuration Not Being Applied in myPlugin #67051

Open
2 of 6 tasks
theaminuli opened this issue Nov 16, 2024 · 0 comments
Open
2 of 6 tasks

ESLint Configuration Not Being Applied in myPlugin #67051

theaminuli opened this issue Nov 16, 2024 · 0 comments
Labels
[Type] Bug An existing feature does not function as intended

Comments

@theaminuli
Copy link

theaminuli commented Nov 16, 2024

Description

I’m encountering an issue where my .eslintrc.js configuration is not being applied in my plugin for WordPress. Despite ensuring that ESLint is set up correctly, the configuration doesn’t seem to be effective in linting the plugin's files. And in the vsCode editor, Gutenberg does not suggest any function components

Image Image

Step-by-step reproduction instructions

1 Create a new plugin
2 Set up ESLint
3 Use functions and components.

Screenshots, screen recording, code snippet

No response

Environment info

No response

Please confirm that you have searched existing issues in the repo.

  • Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

  • Yes

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure
@theaminuli theaminuli added the [Type] Bug An existing feature does not function as intended label Nov 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

1 participant