eslint 报错修改
This commit is contained in:
parent
264521c900
commit
e0cd9d9d19
|
|
@ -1,4 +1,9 @@
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
'global': {
|
||||||
|
'Cesium': writable,
|
||||||
|
'scene': writable,
|
||||||
|
'viewer': writable
|
||||||
|
},
|
||||||
root: true,
|
root: true,
|
||||||
env: {
|
env: {
|
||||||
browser: true,
|
browser: true,
|
||||||
|
|
|
||||||
|
|
@ -45,12 +45,5 @@
|
||||||
"vite-plugin-html": "^2.1.2",
|
"vite-plugin-html": "^2.1.2",
|
||||||
"vite-plugin-mock": "^2.9.6",
|
"vite-plugin-mock": "^2.9.6",
|
||||||
"vite-plugin-vue-setup-extend": "^0.4.0"
|
"vite-plugin-vue-setup-extend": "^0.4.0"
|
||||||
},
|
|
||||||
"eslintConfig": {
|
|
||||||
"globals": {
|
|
||||||
"Cesium": true,
|
|
||||||
"scene": true,
|
|
||||||
"viewer": true
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue