Skip to content

Commit 06c7973

Browse files
committed
fix linting issues
1 parent b2afea2 commit 06c7973

File tree

5 files changed

+11
-12
lines changed

5 files changed

+11
-12
lines changed

ui/src/components/core/core-chip.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import {css, html, LitElement} from 'lit';
22
import {customElement, property} from 'lit/decorators.js';
33
import './core-icon';
4-
import {applyTypography} from "../../styles/theme";
5-
import {Variant} from "./core-button";
4+
import {applyTypography} from '../../styles/theme';
5+
import {Variant} from './core-button';
66

77
@customElement('ngm-core-chip')
88
export class CoreChip extends LitElement {

ui/src/components/layer/options/layer-options.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import {debounce} from '../../../utils';
88
import {setExaggeration} from '../../../permalink';
99
import NavToolsStore from '../../../store/navTools';
1010
import {updateExaggerationForKmlDataSource} from '../../../cesiumutils';
11-
import '../../core'
12-
import {SliderValueChangeEvent} from "../../core/core-slider";
11+
import '../../core';
12+
import {SliderValueChangeEvent} from '../../core/core-slider';
1313

1414
@customElement('ngm-layer-options')
1515
export class NgmLayerOptions extends LitElementI18n {
@@ -41,7 +41,7 @@ export class NgmLayerOptions extends LitElementI18n {
4141

4242
private toggleExaggerationVisibility() {
4343
if (!this.viewer) {
44-
return
44+
return;
4545
}
4646
this.hideExaggeration = !this.hideExaggeration;
4747
const exaggeration = this.hideExaggeration ? 1 : this.exaggeration;

ui/src/icons/i_invisible.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import {html} from "lit";
1+
import {html} from 'lit';
22

33
export const invisibleIcon = html`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
44
<path d="M8.94418 4.23033C10.8853 3.999 12.8489 4.40934 14.5349 5.3987C16.221 6.38806 17.5369 7.90206 18.2817 9.70949C18.3511 9.89659 18.3511 10.1024 18.2817 10.2895C17.9754 11.032 17.5707 11.7299 17.0783 12.3645M11.7367 11.7987C11.2652 12.2541 10.6337 12.506 9.97818 12.5003C9.32269 12.4946 8.69565 12.2317 8.23213 11.7682C7.76861 11.3047 7.50569 10.6777 7.5 10.0222C7.4943 9.36667 7.74629 8.73516 8.20168 8.26366M14.5658 14.5828C13.4604 15.2376 12.2271 15.647 10.9495 15.7832C9.6719 15.9193 8.37997 15.779 7.16137 15.3719C5.94277 14.9647 4.82601 14.3002 3.88686 13.4234C2.94771 12.5467 2.20814 11.4781 1.71835 10.2903C1.6489 10.1032 1.6489 9.89742 1.71835 9.71033C2.45721 7.91854 3.75724 6.4147 5.42335 5.42449M1.66668 1.66699L18.3333 18.3337" stroke="currentColor" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/>
5-
</svg>`
5+
</svg>`;

ui/src/icons/i_visible.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
import {html} from "lit";
1+
import {html} from 'lit';
22

33
export const visibleIcon = html`<svg width="20" height="14" viewBox="0 0 20 14" fill="none" xmlns="http://www.w3.org/2000/svg">
44
<path d="M1.71835 7.29079C1.6489 7.10369 1.6489 6.89788 1.71835 6.71079C2.39476 5.07067 3.54294 3.66832 5.01732 2.68154C6.4917 1.69475 8.22588 1.16797 10 1.16797C11.7741 1.16797 13.5083 1.69475 14.9827 2.68154C16.4571 3.66832 17.6053 5.07067 18.2817 6.71079C18.3511 6.89788 18.3511 7.10369 18.2817 7.29079C17.6053 8.93091 16.4571 10.3333 14.9827 11.32C13.5083 12.3068 11.7741 12.8336 10 12.8336C8.22588 12.8336 6.4917 12.3068 5.01732 11.32C3.54294 10.3333 2.39476 8.93091 1.71835 7.29079Z" stroke="#337083" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/>
55
<path d="M10 9.50079C11.3807 9.50079 12.5 8.3815 12.5 7.00079C12.5 5.62008 11.3807 4.50079 10 4.50079C8.6193 4.50079 7.50001 5.62008 7.50001 7.00079C7.50001 8.3815 8.6193 9.50079 10 9.50079Z" stroke="currentColor" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/>
6-
</svg>
7-
`
6+
</svg>`;

ui/src/icons/icons.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import {closeIcon} from './i_close';
1212
import {dropdownIcon} from './i_dropdown';
1313
import {uploadIcon} from './i_upload';
1414
import {cesiumIcon} from './i_cesium';
15-
import {visibleIcon} from "./i_visible";
16-
import {invisibleIcon} from "./i_invisible";
15+
import {visibleIcon} from './i_visible';
16+
import {invisibleIcon} from './i_invisible';
1717

1818
export const icons = {
1919
cesium: cesiumIcon,

0 commit comments

Comments
 (0)