chore: fix eslint crashing issues (#1951)
This commit is contained in:
13
packages/mobile/.eslintrc.js
Normal file
13
packages/mobile/.eslintrc.js
Normal file
@@ -0,0 +1,13 @@
|
||||
module.exports = {
|
||||
root: true,
|
||||
extends: ['../../common.eslintrc.js', 'plugin:react-hooks/recommended'],
|
||||
parserOptions: {
|
||||
project: './tsconfig.json',
|
||||
tsconfigRootDir: __dirname,
|
||||
},
|
||||
ignorePatterns: ['**/*.spec.ts', '__mocks__'],
|
||||
plugins: ['@typescript-eslint', 'react', 'react-hooks', 'prettier'],
|
||||
rules: {
|
||||
'no-console': 'warn',
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user