new client electron
This commit is contained in:
parent
3698e6e3c0
commit
4e6e616015
26 changed files with 12537 additions and 0 deletions
32
client-electron/.eslintrc.cjs
Normal file
32
client-electron/.eslintrc.cjs
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
module.exports = {
|
||||
root: true,
|
||||
env: {
|
||||
"es2021": true,
|
||||
"node": true,
|
||||
"browser": false
|
||||
},
|
||||
extends: [
|
||||
'eslint:recommended',
|
||||
'plugin:@typescript-eslint/recommended',
|
||||
'plugin:react-hooks/recommended',
|
||||
'prettier'
|
||||
],
|
||||
ignorePatterns: [
|
||||
"types/env.d.ts",
|
||||
"node_modules/**",
|
||||
"**/dist/**",
|
||||
],
|
||||
parser: '@typescript-eslint/parser',
|
||||
parserOptions: {
|
||||
ecmaVersion: 12,
|
||||
sourceType: 'module',
|
||||
},
|
||||
plugins: ['react-refresh', '@typescript-eslint'],
|
||||
rules: {
|
||||
'react-refresh/only-export-components': [
|
||||
'warn',
|
||||
{ allowConstantExport: true },
|
||||
],
|
||||
"@typescript-eslint/consistent-type-imports": "error",
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue