Capgemini / dcx-react-library

React Library UI/UX agnostic
https://main--6069a6f47f4b9f002171f8e1.chromatic.com
MIT License
107 stars 7 forks source link

Husky plugin with eslint doesn't work properly #617

Open daniele-zurico opened 3 months ago

daniele-zurico commented 3 months ago

the eslint plugin is not doing the checks needed for the codebase. When it tries to run you get a warning message:

WARNING: You are currently running a version of TypeScript which is not officially supported by @typescript-eslint/typescript-estree.

You may find that it works just fine, or you may not.

SUPPORTED TYPESCRIPT VERSIONS: >=3.3.1 <5.2.0

YOUR TYPESCRIPT VERSION: 5.4.3

Please only submit bug reports when using the officially supported version.

please address this trying not to downgrade typescript - https://typescript-eslint.io/users/dependency-versions/#typescript

To work on this ticket please follow these steps to create your branch:

git checkout release/1.1.0
git pull
git checkout -b 'fix/husky-eslint'