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

feat: supported new globals added in the new node.js versions #154

Merged
merged 1 commit into from Dec 29, 2023

Conversation

aladdin-add
Copy link

For eslintrc configs, using the 'env' property;
for flat configs, reference the npm package 'globals'.

For eslintrc configs, using the 'env' property;
for flat configs, reference the npm package 'globals'.
@aladdin-add aladdin-add merged commit 7628925 into master Dec 29, 2023
16 checks passed
@aladdin-add aladdin-add deleted the feat/globals branch December 29, 2023 10:20
kevinoid added a commit to kevinoid/mocha-ur2ue that referenced this pull request Dec 31, 2023
eslint-community/eslint-plugin-n#154 removed
many global variables from eslint-plugin-n in favor of enabling the node
and es2021 environments.  Since we disable the node environment (since
our code may not be running in node) we need to declare those variables
for linting.  Do so as necessary.

Bump the required version of eslint-plugin-n to ^16.5.0 to avoid
warnings about redeclaring globals when using previous versions.

Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant