about summary refs log tree commit diff
path: root/.eslintrc.js
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2022-06-07 17:50:05 -0500
committerPaul Frazee <pfrazee@gmail.com>2022-06-07 17:50:05 -0500
commit47250e7ed7d608e499ae8f3ec99494269db30292 (patch)
treeaf6b1bacba4b8e56149505f49a4022a92e7025aa /.eslintrc.js
downloadvoidsky-47250e7ed7d608e499ae8f3ec99494269db30292.tar.zst
Initial commit
Diffstat (limited to '.eslintrc.js')
-rw-r--r--.eslintrc.js16
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',
+      },
+    },
+  ],
+};