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 the plugin in the recommended config #2

Merged
merged 1 commit into from
Sep 29, 2023

Conversation

nklhtv
Copy link
Contributor

@nklhtv nklhtv commented Sep 5, 2023

Each eslint plugin adds itself to the plugins as part of the recommended config.
@artlaman please review

@artlaman
Copy link
Owner

I don't quite understand what this line of code does. 😅 Can you share a link to the documentation please?

@nklhtv
Copy link
Contributor Author

nklhtv commented Sep 25, 2023

@artlaman, There is an example here: https://eslint.org/docs/latest/extend/plugins#configs-in-plugins
If this line is not there i must list the index plugin in the plugins array of my config.
If this line is there i can omit it (in case i extends from the recommeneded config ofc).

@artlaman
Copy link
Owner

Okay, now I understand, thank you very much for the explanation.

@artlaman artlaman added the enhancement New feature or request label Sep 29, 2023
@artlaman artlaman merged commit 885e891 into artlaman:master Sep 29, 2023
@artlaman
Copy link
Owner

@nklhtv Thank you one more time!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants