chore: fix eslint crashing issues (#1951)
This commit is contained in:
16
packages/desktop/.eslintrc.js
Normal file
16
packages/desktop/.eslintrc.js
Normal file
@@ -0,0 +1,16 @@
|
||||
module.exports = {
|
||||
root: true,
|
||||
extends: ['../../common.eslintrc.js'],
|
||||
parserOptions: {
|
||||
project: './tsconfig.json',
|
||||
tsconfigRootDir: __dirname,
|
||||
},
|
||||
ignorePatterns: ['**/*.spec.ts', '@types', 'node_modules', 'dist'],
|
||||
rules: {
|
||||
'no-console': ['warn', { allow: ['warn', 'error'] }],
|
||||
'@typescript-eslint/no-var-requires': 'off',
|
||||
},
|
||||
globals: {
|
||||
zip: true,
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user