diff options
author | Paul Coroneos <paul.coroneos@icloud.com> | 2024-11-19 09:33:07 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-19 15:33:07 +0000 |
commit | ff5ad3825331b292fd869fda3555629329de008e (patch) | |
tree | 59912c875b356902b88fe7760f572ad9748d3c3c /.eslintrc.js | |
parent | cfc653a5f4d5e49917cf816a86fe3f027a625a07 (diff) | |
download | voidsky-ff5ad3825331b292fd869fda3555629329de008e.tar.zst |
Leverage jsx transform to remove unnecessary react imports and update eslint config (#6516)
* update eslint config with jsx runtime * leverage jsx transform to remove unnecessary react imports and update eslint config * run yarn lint --fix to remove eslint disables related to react/prop-types that is now disabled
Diffstat (limited to '.eslintrc.js')
-rw-r--r-- | .eslintrc.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.eslintrc.js b/.eslintrc.js index 50365a09e..fefe4fa5b 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -3,6 +3,7 @@ module.exports = { extends: [ '@react-native-community', 'plugin:react/recommended', + 'plugin:react/jsx-runtime', 'plugin:react-native-a11y/ios', 'prettier', ], @@ -19,6 +20,7 @@ module.exports = { // Temporary until https://github.com/facebook/react-native/pull/43756 gets into a release. 'prettier/prettier': 0, 'react/no-unescaped-entities': 0, + 'react/prop-types': 0, 'react-native/no-inline-styles': 0, 'bsky-internal/avoid-unwrapped-text': [ 'error', |