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: Added root to config to prevent warning #2846

Merged
merged 1 commit into from
Apr 3, 2021

Conversation

RunDevelopment
Copy link
Member

In #2831, I forgot to add the root: true property to the config. This resulted in a warning being logged every time ESLint was run.

(node:15456) [ESLINT_PERSONAL_CONFIG_SUPPRESS] DeprecationWarning: '~/.eslintrc.*' config files have been deprecated. Please remove it or add 'root:true' to the config files in your projects in order to avoid loading '~/.eslintrc.*' accidentally. (found in "..\..\.eslintrc")

This was a simple mistake and this is a simple fix. I will merge this immediately as the warning is quite annoying and the fix is quite simple.

@github-actions
Copy link

github-actions bot commented Apr 3, 2021

No JS Changes

Generated by 🚫 dangerJS against fbc1267

@RunDevelopment RunDevelopment merged commit 48ab42b into PrismJS:master Apr 3, 2021
@RunDevelopment RunDevelopment deleted the eslint-root-config branch April 3, 2021 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant