about summary refs log tree commit diff
path: root/.eslintrc.js
diff options
context:
space:
mode:
authorAryan Goharzad <arrygoo@gmail.com>2023-01-19 13:28:52 -0500
committerGitHub <noreply@github.com>2023-01-19 12:28:52 -0600
commit0536a6afcfce0ef2bebfc7cacf13d3d80ef82229 (patch)
tree49469590686c8c4e79ef3f50cf2f9c602a2a10b1 /.eslintrc.js
parentf969e746f7ee4db76cb70b409662a925b06647a7 (diff)
downloadvoidsky-0536a6afcfce0ef2bebfc7cacf13d3d80ef82229.tar.zst
Adding action for linting (#51)
* Adding action for linting

* Configuring eslint

* Update lint.yml

* Update lint.yml

* Update lint.yml

* adds yarn jest to package.json

* test report

* debugging tests

* trying force exit

* force exit

* test1

* forceexit

* using another reporter

* jest debugging

* separated lints & tests

* test

* Cleanup

* Add  /src/third-party, /ios, and /android to ignore list
Diffstat (limited to '.eslintrc.js')
-rw-r--r--.eslintrc.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/.eslintrc.js b/.eslintrc.js
index ba805bc32..701cc2916 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -2,14 +2,12 @@ module.exports = {
   root: true,
   extends: '@react-native-community',
   parser: '@typescript-eslint/parser',
-  // plugins: ['@typescript-eslint'],
+  plugins: ['@typescript-eslint'],
+  ignorePatterns: ['**/__mocks__/*.ts', 'src/third-party', 'ios', 'android'],
   overrides: [
     {
       files: ['*.js', '*.mjs', '*.ts', '*.tsx'],
       rules: {
-        '@typescript-eslint/no-shadow': 'off',
-        'no-shadow': 'off',
-        'no-undef': 'off',
         semi: [2, 'never'],
       },
     },