mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 13:38:26 +02:00
fix eslint not working in IDEs (#10406)
This commit is contained in:
@@ -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
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user