Skip to content

Fixed eslint "Cannot read property 'length' of undefined" error#1994

Merged
arikfr merged 1 commit into
getredash:masterfrom
kravets-levko:fix/eslint-error
Oct 3, 2017
Merged

Fixed eslint "Cannot read property 'length' of undefined" error#1994
arikfr merged 1 commit into
getredash:masterfrom
kravets-levko:fix/eslint-error

Conversation

@kravets-levko

Copy link
Copy Markdown
Collaborator

Related eslint issue: eslint/eslint#4259

  • Updated eslint and related dependencies to latest versions (removes mentioned error).
  • Updated some other packages to latest versions.
  • Updated webpack-dev-server proxy config to rewrite origin (needed to avoid remote server's errors).
  • Code style (the most part of this PR).

@arikfr

arikfr commented Oct 3, 2017

Copy link
Copy Markdown
Member

Thanks!

Updated some other packages to latest versions.

I know that Angular 1.6 had breaking changes that affected our codebase and the other packages might have some too. I don't want this PR to wait for proper QA of all the changes, so how about we keep only the dev dependencies updates for now and move the other upgrades to a future pull request?

Code style (the most part of this PR).

Was it done with something like prettier?

@kravets-levko

Copy link
Copy Markdown
Collaborator Author

@arikfr Reverted angular to previous version. Code style mostly was fixed with eslint --fix and the rest (several errors) was fixed manually.

@arikfr
arikfr merged commit 8af028b into getredash:master Oct 3, 2017
@arikfr

arikfr commented Oct 3, 2017

Copy link
Copy Markdown
Member

Merged. Thanks 👏

@kravets-levko
kravets-levko deleted the fix/eslint-error branch February 11, 2019 16:51
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.

2 participants