fix eslint not working in IDEs (#10406)

This commit is contained in:
Kyℓe Hensel
2024-08-17 03:17:28 +10:00
committed by GitHub
parent ba8d52e3c9
commit 19df3a2174
2 changed files with 2 additions and 5 deletions
@@ -10,7 +10,6 @@ export default [
sourceType: 'module',
globals: {
...globals.browser,
...globals.es6
}
},
rules: {
@@ -111,7 +110,6 @@ export default [
languageOptions: {
globals: {
...globals.node,
...globals.es6,
...globals.mocha,
'd3': 'readonly',
'iD': 'readonly',
@@ -130,7 +128,6 @@ export default [
languageOptions: {
globals: {
...globals.node,
...globals.es6
}
}
}
+2 -2
View File
@@ -33,8 +33,8 @@
"dist:svg:roentgen": "svg-sprite --shape-id-generator \"roentgen-%s\" --shape-dim-width 16 --shape-dim-height 16 --symbol --symbol-dest . --symbol-sprite dist/img/roentgen-sprite.svg svg/roentgen/*.svg",
"dist:svg:temaki": "svg-sprite --symbol --symbol-dest . --shape-id-generator \"temaki-%s\" --symbol-sprite dist/img/temaki-sprite.svg node_modules/@rapideditor/temaki/icons/*.svg",
"imagery": "node scripts/update_imagery.js",
"lint": "eslint config scripts test/spec modules -c config/eslint.config.mjs",
"lint:fix": "eslint scripts test/spec modules -c config/eslint.config.mjs --fix",
"lint": "eslint config scripts test/spec modules",
"lint:fix": "eslint scripts test/spec modules --fix",
"start": "run-s start:watch",
"start:single-build": "run-p build:js start:server",
"start:watch": "run-p build:js:watch start:server",