diff options
author | Paul Frazee <pfrazee@gmail.com> | 2022-06-07 17:50:05 -0500 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2022-06-07 17:50:05 -0500 |
commit | 47250e7ed7d608e499ae8f3ec99494269db30292 (patch) | |
tree | af6b1bacba4b8e56149505f49a4022a92e7025aa /.eslintrc.js | |
download | voidsky-47250e7ed7d608e499ae8f3ec99494269db30292.tar.zst |
Initial commit
Diffstat (limited to '.eslintrc.js')
-rw-r--r-- | .eslintrc.js | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/.eslintrc.js b/.eslintrc.js new file mode 100644 index 000000000..dcf0be086 --- /dev/null +++ b/.eslintrc.js @@ -0,0 +1,16 @@ +module.exports = { + root: true, + extends: '@react-native-community', + parser: '@typescript-eslint/parser', + plugins: ['@typescript-eslint'], + overrides: [ + { + files: ['*.ts', '*.tsx'], + rules: { + '@typescript-eslint/no-shadow': ['error'], + 'no-shadow': 'off', + 'no-undef': 'off', + }, + }, + ], +}; |