更改eslint配置

This commit is contained in:
hawk86104 2024-05-15 18:45:32 +08:00
parent 552c091039
commit a52094e278
3 changed files with 7 additions and 6 deletions

View File

@ -27,7 +27,7 @@ module.exports = {
'vue/comma-dangle': 'off', 'vue/comma-dangle': 'off',
'no-debugger': 'off', 'no-debugger': 'off',
'guard-for-in': 'off', 'guard-for-in': 'off',
// "semi": "off", semi: ['error', 'never'],
// "init-declarations": "off", // "init-declarations": "off",
// "space-unary-ops": "off", // "space-unary-ops": "off",
'import/no-unresolved': [ 'import/no-unresolved': [

View File

@ -1,4 +1,5 @@
/* eslint-disable import/no-extraneous-dependencies, import/extensions */
module.exports = { module.exports = {
...require("@webank/eslint-config-webank/.prettierrc.js"), ...require('@webank/eslint-config-webank/.prettierrc.js'),
semi:false semi: false,
}; }

View File

@ -2,9 +2,9 @@
"compilerOptions": { "compilerOptions": {
"outDir": "build/dist", "outDir": "build/dist",
"module": "esnext", "module": "esnext",
"target": "esnext", "target": "es2017",
"types": [ "types": [
"./common/vite-plugin-glsl/vite-plugin-glsl-ext.d.ts" "./src/common/vite-plugin-glsl-ext.d.ts"
], ],
"lib": [ "lib": [
"esnext", "esnext",