You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.
error 'name' is already defined @typescript-eslint/no-redeclare
After trying to reproduce with just ESLint and then just @typescript-eslint, I found that including airbnb-typescript in the extends was introducing the issue.
I've not traced further at this point, but this seemed to be a rarely reported issue, so hope the helps someone.
Node version: v14.21.1
npm version: v6.14.17
Local ESLint version: v8.38.0 (Currently used)
Global ESLint version: Not found
Operating System: linux 5.15.0-69-generic
eslint-config-airbnb-base@^15.0.0
eslint-config-airbnb-typescript@^17.0.0
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Treat this as more of a (possible) sign post.
I setup ESLint extending the
plugin:import/recommended
,airbnb-typescript
andprettier
configs.When doing this, code like:
Would produce
After trying to reproduce with just ESLint and then just @typescript-eslint, I found that including
airbnb-typescript
in theextends
was introducing the issue.I've not traced further at this point, but this seemed to be a rarely reported issue, so hope the helps someone.
Node version: v14.21.1
npm version: v6.14.17
Local ESLint version: v8.38.0 (Currently used)
Global ESLint version: Not found
Operating System: linux 5.15.0-69-generic
eslint-config-airbnb-base@^15.0.0
eslint-config-airbnb-typescript@^17.0.0
The text was updated successfully, but these errors were encountered: