uber / react-digraph

A library for creating directed graph editors

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

eslint src fails after cloning repo

Djazouli opened this issue · comments

Describe the bug
When running npm install just after running the repository, the last eslint src fails

To Reproduce
Steps to reproduce the behavior:

  1. Clone the repo
  2. run "npm install"
  3. See the following error messages:
    /Users/djazouli/WebstormProjects/test/react-digraph/src/components/graph-view.js
    475:7 error 'canSwapEdge' is not defined cup/no-undef

/Users/djazouli/WebstormProjects/test/react-digraph/src/index.js
28:9 error Replace ⏎··default·as·BwdlTransformer,⏎ with ·default·as·BwdlTransformer· prettier/prettier

Expected behavior
eslint should not fail

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):
OS: macOS Catalina v10.15.5
Browser: Brave
Version 1.10.97 Chromium: 83.0.4103.116 (Official Build) (64-bit)

Additional context
Add any other context about the problem here.