Browse Source

chore: eslint config

main
xingyu 2 years ago
parent
commit
afab7630ec
  1. 1
      .vscode/settings.json
  2. 18
      tsconfig.json

1
.vscode/settings.json vendored

@ -150,6 +150,7 @@
"lintstagedrc",
"logicflow",
"nprogress",
"picocolors",
"pinia",
"pnpm",
"qrcode",

18
tsconfig.json

@ -1,29 +1,29 @@
{
"compilerOptions": {
"target": "ESNext",
"lib": ["DOM", "ESNext"],
"jsx": "preserve",
"experimentalDecorators": true,
"lib": ["DOM", "ESNext"],
"noLib": false,
"experimentalDecorators": true,
"baseUrl": ".",
"module": "ESNext",
"moduleResolution": "node",
"baseUrl": ".",
"paths": {
"@/*": ["src/*"]
},
"types": ["vite/client"],
"resolveJsonModule": true,
"types": ["vite/client"],
"allowJs": true,
"sourceMap": true,
"removeComments": true,
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
"strictFunctionTypes": false,
"noImplicitAny": false,
"noUnusedLocals": true,
"noUnusedParameters": true,
"removeComments": true,
"sourceMap": true,
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"skipLibCheck": true
},
"include": [