flexbox / react-native-bootcamp

1 week, 20+ lessons, opinionated React Native Bootcamp for busy developers.
https://davidl.fr/bootcamp
220 stars 12 forks source link

Update Eslint Section #230

Closed MatthysDev closed 3 months ago

MatthysDev commented 4 months ago

https://davidl.fr/workshop/challenges/ecosystem-02

With the new version of Eslint (9.0.0) the command line change

"lint": "eslint --ignore-path .gitignore --ext .js,.ts,.tsx .",

doesn't work anymore

Or we should change the config name to make it works

https://eslint.org/docs/latest/use/migrate-to-9.0.0#-new-default-config-format-eslintconfigjs

flexbox commented 3 months ago

depends on #235

with expo SDK 51 new rules are landing https://expo.dev/changelog/2024/05-07-sdk-51#other-highlights

We can now run npx expo lint in your project to generate an ESLint config file that extends from eslint-config-expo.