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

Cleanup eslint globals + update deprecated config #22940

Merged
merged 1 commit into from
Dec 2, 2021

Conversation

gero3
Copy link
Contributor

@gero3 gero3 commented Dec 2, 2021

Description

This PR cleans up the eslint exceptions in the src folder and adds the required globals to the eslint config. The globals also now are set as read-only. eslint captures than the assignments to 1 of these globals. This also resolves the deprecation of boolean values with globals in an eslint config.

Info about the deprecation of boolean values with global definitions can be found here:https://eslint.org/docs/user-guide/configuring/language-options#specifying-globals

@mrdoob mrdoob added this to the r136 milestone Dec 2, 2021
@mrdoob mrdoob merged commit 3a42fff into mrdoob:dev Dec 2, 2021
@mrdoob
Copy link
Owner

mrdoob commented Dec 2, 2021

Thanks!

gero3 added a commit to gero3/three.js that referenced this pull request Dec 3, 2021
mrdoob pushed a commit that referenced this pull request Dec 3, 2021
* some eslint fixes in the examples folder

* remove eslint errors in docs folder (#22941)

* Cleanup eslint globals + update deprecated config (#22940)
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

3 participants