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

Fix eslint #4259

Merged
merged 1 commit into from
May 31, 2020
Merged

Fix eslint #4259

merged 1 commit into from
May 31, 2020

Conversation

CompuIves
Copy link
Member

Eslint stopped working in the worker after upgrading to babel-eslint 1.1.0. It seems like a dynamic require is added to resolve eslint files directly, which is not available in the web worker yet (babel/babel-eslint#794).

I also saw that the linter worker was started twice, now we start it once.

Fixes https://sentry.io/organizations/codesandbox/issues/1697777972/?project=2071895&query=is%3Aunresolved&statsPeriod=14d
Fixes https://sentry.io/organizations/codesandbox/issues/1697778867/?project=2071895&query=is%3Aunresolved&statsPeriod=14d

@CompuIves CompuIves merged commit 4cbf5be into master May 31, 2020
@CompuIves CompuIves deleted the fix/eslint branch May 31, 2020 19:03
@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit cd0cb0f:

Sandbox Source
Notifications Test Configuration

@lbogdan
Copy link
Contributor

lbogdan commented May 31, 2020

Build for latest commit cd0cb0f is at https://pr4259.build.csb.dev/s/new.

CompuIves added a commit that referenced this pull request May 31, 2020
CompuIves added a commit that referenced this pull request Jun 1, 2020
* Added p5js icon

* Remove unnecessary fill property

* fix: setting undefined in URL (#4244)

* Remove pkg.json check (#4248)

* Remove pkg.json check

* Remove unused imports

* Add support for dynamic webpack loaders (#4245)

* Fix typo

* Undo the requires change

* Fix eslint (#4259)

* Resolve ESModules by default (#4191)

* Default to esmodules

* New packager

* Fix edge case with handling exports

* Test #1

* Test #2

* Test #2

* New try

* Patch resolve in babel

* Fix plugin

* Logging

* Remove esmodule check

* Change fallback

* Put check back

* Remove isEsModule check code

* Put convert esmodule code back in

* Optimize for speed

* Set a better default config

* Simplify boolean

* Set default babel configs

* Fix links

* Don't allow the sidebar to render if currentSandbox is not available (#4261)

* fix: check for vue router v4 (#4203)

* Fix esm var changes (#4262)

* Fix esm var changes

* Fix object initiliazers

* Add comment

* fix: typo in method isInsideVue (#4263)

* Fix transforming properties like toString

* Add comments data

* Use unique id

* Fix typo in reference

Co-authored-by: Ives van Hoorne <ives.v.h@gmail.com>
Co-authored-by: Yash Joshi <jyash97@gmail.com>
Co-authored-by: Ives van Hoorne <ives@codesandbox.io>
Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
CompuIves added a commit that referenced this pull request Jun 1, 2020
* Added p5js icon

* Remove unnecessary fill property

* fix: setting undefined in URL (#4244)

* Remove pkg.json check (#4248)

* Remove pkg.json check

* Remove unused imports

* Add support for dynamic webpack loaders (#4245)

* Fix typo

* Undo the requires change

* Fix eslint (#4259)

* Resolve ESModules by default (#4191)

* Default to esmodules

* New packager

* Fix edge case with handling exports

* Test #1

* Test #2

* Test #2

* New try

* Patch resolve in babel

* Fix plugin

* Logging

* Remove esmodule check

* Change fallback

* Put check back

* Remove isEsModule check code

* Put convert esmodule code back in

* Optimize for speed

* Set a better default config

* Simplify boolean

* Set default babel configs

* Fix links

* Don't allow the sidebar to render if currentSandbox is not available (#4261)

* fix: check for vue router v4 (#4203)

* Fix esm var changes (#4262)

* Fix esm var changes

* Fix object initiliazers

* Add comment

* fix: typo in method isInsideVue (#4263)

* Fix transforming properties like toString

* Add comments data

* Use unique id

* Fix typo in reference

* Don't show comment indication if you don't have permission

Co-authored-by: Danny Ruchtie <danny@codesandbox.io>
Co-authored-by: Yash Joshi <jyash97@gmail.com>
Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
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

2 participants