ElemeFE / element-react

Element UI
https://elemefe.github.io/element-react/index
MIT License
2.83k stars 443 forks source link

Eslint fails in v1.4.34 #1019

Open mytharcher opened 4 years ago

mytharcher commented 4 years ago

Description

In current master (v1.4.34 09688fe5cc5fd837815f860e6f83cdf1dd7ef12a) the lint fails.

Reproduce Steps

  1. Clone the code.
  2. Run npm i && npm run lint.

Error Trace (if possible)

.../element-react/src/index.js
  30:1  error  Dependency cycle via ./Upload:1=>./UploadList:5  import/no-cycle

.../element-react/libs/index.js
  11:1  error  Dependency cycle via ./transition:1  import/no-cycle

✖ 2 problems (2 errors, 0 warnings)

Additional Information

I dig deeper and found this error was involved from f51623e6308450eb09d43bd936ccf4a89aab0b21 (v1.4.32).