eslint-config-react-native-wcandillon
eslint-config-react-native-wcandillon copied to clipboard
ESLint: 8.8.0 is not happy
Hey! Thanks for this I am using it all the time on my projects ๐
Here is my issue
As a developer I can setup the last eslint version So that I am up-to-date
If I run the instructions
yarn add eslint --dev
will install
info All dependencies
โโ @eslint/[email protected]
...
โโ [email protected]
Problem
yarn lint
yarn run v1.22.17
$ eslint --ignore-path .gitignore --ext .js,.ts,.tsx .
Oops! Something went wrong! :(
ESLint: 8.8.0
TypeError: Failed to load plugin '@typescript-eslint' declared in '.eslintrc ยป eslint-config-react-native-wcandillon': Class extends value undefined is not a constructor or null
Referenced from: /Users/cerebra/workspace/rn/react-native-bootcamp/hackathon/react-native-heroes/node_modules/eslint-config-react-native-wcandillon/index.js
at Object.<anonymous> (/Users/cerebra/workspace/rn/react-native-bootcamp/hackathon/react-native-heroes/node_modules/@typescript-eslint/experimental-utils/dist/ts-eslint/CLIEngine.js:12:34)
at Module._compile (/Users/cerebra/workspace/rn/react-native-bootcamp/hackathon/react-native-heroes/node_modules/v8-compile-cache/v8-compile-cache.js:192:30)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (/Users/cerebra/workspace/rn/react-native-bootcamp/hackathon/react-native-heroes/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
at Object.<anonymous> (/Users/cerebra/workspace/rn/react-native-bootcamp/hackathon/react-native-heroes/node_modules/@typescript-eslint/experimental-utils/dist/ts-eslint/index.js:14:14)
at Module._compile (/Users/cerebra/workspace/rn/react-native-bootcamp/hackathon/react-native-heroes/node_modules/v8-compile-cache/v8-compile-cache.js:192:30)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
Solution Downgrade the version will fix the problem
yarn add --dev [email protected]
Or I think we will to update dependencies
:tada: This issue has been resolved in version 3.8.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Reopening since installing the latest version doesn't seem to use the added resolutions
this is fixed finally :)
Confirmed!


Thank you for you work ๐
no no no no David: Thank You ๐