Skip to content

Commit c96c019

Browse files
committed
chore: eslint fix
1 parent 03de4b7 commit c96c019

File tree

14 files changed

+31
-31
lines changed

14 files changed

+31
-31
lines changed

packages/common/rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { builtinModules } from 'module';
22
import esbuild from 'rollup-plugin-esbuild';
33
import dts from 'rollup-plugin-dts';
44
import { defineConfig } from 'rollup';
5-
import pkg from './package.json' with { type: "json" };
5+
import pkg from './package.json' with { type: 'json' };
66

77
const external = [
88
...builtinModules,

packages/compass/rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import esbuild from 'rollup-plugin-esbuild';
33
import dts from 'rollup-plugin-dts';
44
import styles from 'rollup-plugin-styles';
55
import { defineConfig } from 'rollup';
6-
import pkg from './package.json' with { type: "json" };
6+
import pkg from './package.json' with { type: 'json' };
77

88
const external = [
99
...builtinModules,

packages/drawer/rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { builtinModules } from 'module';
22
import esbuild from 'rollup-plugin-esbuild';
33
import dts from 'rollup-plugin-dts';
44
import { defineConfig } from 'rollup';
5-
import pkg from './package.json' with { type: "json" };
5+
import pkg from './package.json' with { type: 'json' };
66

77
const external = [
88
...builtinModules,

packages/geojson-render/rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { builtinModules } from 'module';
22
import esbuild from 'rollup-plugin-esbuild';
33
import dts from 'rollup-plugin-dts';
44
import { defineConfig } from 'rollup';
5-
import pkg from './package.json' with { type: "json" };
5+
import pkg from './package.json' with { type: 'json' };
66

77
const external = [
88
...builtinModules,

packages/heat/rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { builtinModules } from 'module';
22
import esbuild from 'rollup-plugin-esbuild';
33
import dts from 'rollup-plugin-dts';
44
import { defineConfig } from 'rollup';
5-
import pkg from './package.json' with { type: "json" };
5+
import pkg from './package.json' with { type: 'json' };
66

77
const external = [
88
...builtinModules,

packages/measure/rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { builtinModules } from 'module';
22
import esbuild from 'rollup-plugin-esbuild';
33
import dts from 'rollup-plugin-dts';
44
import { defineConfig } from 'rollup';
5-
import pkg from './package.json' with { type: "json" };
5+
import pkg from './package.json' with { type: 'json' };
66

77
const external = [
88
...builtinModules,

packages/popup/rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { builtinModules } from 'module';
22
import esbuild from 'rollup-plugin-esbuild';
33
import dts from 'rollup-plugin-dts';
44
import { defineConfig } from 'rollup';
5-
import pkg from './package.json' with { type: "json" };
5+
import pkg from './package.json' with { type: 'json' };
66

77
const external = [
88
...builtinModules,

packages/primitive-geojson/rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { builtinModules } from 'module';
22
import esbuild from 'rollup-plugin-esbuild';
33
import dts from 'rollup-plugin-dts';
44
import { defineConfig } from 'rollup';
5-
import pkg from './package.json' with { type: "json" };
5+
import pkg from './package.json' with { type: 'json' };
66

77
const external = [
88
...builtinModules,

packages/primitive-geojson/src/GeoJsonLayer-util.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,8 @@ export function createPoint(
199199
.then(function (image) {
200200
image instanceof Promise
201201
? image.then((i) => {
202-
billboard.image = i;
203-
})
202+
billboard.image = i;
203+
})
204204
: (billboard.image = image as unknown as string);
205205
// @ts-ignore
206206
billboard.image = image;

packages/primitive-geojson/src/GeoJsonPrimitiveLayer.ts

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -602,25 +602,25 @@ export class GeoJsonPrimitiveLayer extends BasicGraphicLayer {
602602
reloadPrimitive(depthTest: boolean = this._options.depthTest ?? false) {
603603
const appearance = depthTest
604604
? new PerInstanceColorAppearance({
605-
translucent: false,
606-
renderState: {
607-
depthTest: {
608-
enabled: true,
605+
translucent: false,
606+
renderState: {
607+
depthTest: {
608+
enabled: true,
609+
},
610+
depthMask: true,
611+
blending: BlendingState.PRE_MULTIPLIED_ALPHA_BLEND,
609612
},
610-
depthMask: true,
611-
blending: BlendingState.PRE_MULTIPLIED_ALPHA_BLEND,
612-
},
613-
})
613+
})
614614
: new PerInstanceColorAppearance({
615-
flat: true,
616-
translucent: false,
617-
closed: true,
618-
renderState: {
619-
depthTest: false,
620-
depthMask: false,
621-
blending: BlendingState.PRE_MULTIPLIED_ALPHA_BLEND,
622-
},
623-
});
615+
flat: true,
616+
translucent: false,
617+
closed: true,
618+
renderState: {
619+
depthTest: false,
620+
depthMask: false,
621+
blending: BlendingState.PRE_MULTIPLIED_ALPHA_BLEND,
622+
},
623+
});
624624

625625
this._circlePrimitive = new Primitive({
626626
geometryInstances: this._circleInstances,

0 commit comments

Comments
 (0)