diff options
author | dan <dan.abramov@gmail.com> | 2023-09-08 00:38:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-07 16:38:57 -0700 |
commit | a5b89dffa6713bb06c1c572bbdc00517cf5e9bc5 (patch) | |
tree | ac8aa2deec7cc24d9a3553bab0c48335d2e8677c /.eslintrc.js | |
parent | 00595591c46db6ebfa9a8ee404f275b43493f7e0 (diff) | |
download | voidsky-a5b89dffa6713bb06c1c572bbdc00517cf5e9bc5.tar.zst |
Add ESLint React plugin (#1412)
* Add eslint-plugin-react * Enable display name rule
Diffstat (limited to '.eslintrc.js')
-rw-r--r-- | .eslintrc.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.eslintrc.js b/.eslintrc.js index a40b5da92..c7c987751 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -2,12 +2,14 @@ module.exports = { root: true, extends: [ '@react-native-community', + 'plugin:react/recommended', 'plugin:react-native-a11y/ios', 'prettier', ], parser: '@typescript-eslint/parser', - plugins: ['@typescript-eslint', 'detox'], + plugins: ['@typescript-eslint', 'detox', 'react'], rules: { + 'react/no-unescaped-entities': 0, 'react-native/no-inline-styles': 0, }, ignorePatterns: [ |