fix lgtm warnings

pull/597/head
Cory LaViska 2021-11-24 10:59:31 -05:00
rodzic 4304d8badd
commit d80fe902b3
6 zmienionych plików z 0 dodań i 10 usunięć

Wyświetl plik

@ -4,15 +4,11 @@ import commandLineArgs from 'command-line-args';
import copy from 'recursive-copy';
import del from 'del';
import esbuild from 'esbuild';
import fs from 'fs';
import getPort from 'get-port';
import glob from 'globby';
import mkdirp from 'mkdirp';
import path from 'path';
import { URL } from 'url';
import { execSync } from 'child_process';
const build = esbuild.build;
const bs = browserSync.create();
const { bundle, copydir, dir, serve, types } = commandLineArgs([

Wyświetl plik

@ -3,7 +3,6 @@
//
import chalk from 'chalk';
import commandLineArgs from 'command-line-args';
import esbuild from 'esbuild';
import fs from 'fs/promises';
import glob from 'globby';
import mkdirp from 'mkdirp';

Wyświetl plik

@ -1,7 +1,6 @@
//
// This script runs the Custom Elements Manifest analyzer to generate custom-elements.json
//
import chalk from 'chalk';
import commandLineArgs from 'command-line-args';
import { execSync } from 'child_process';

Wyświetl plik

@ -1,5 +1,4 @@
import chalk from 'chalk';
import commandLineArgs from 'command-line-args';
import fs from 'fs';
import del from 'del';
import mkdirp from 'mkdirp';
@ -7,7 +6,6 @@ import path from 'path';
import pascalCase from 'pascal-case';
import prettier from 'prettier';
import prettierConfig from '../prettier.config.cjs';
import { execSync } from 'child_process';
import { getAllComponents } from './shared.js';
const outdir = path.join('./src/react');

Wyświetl plik

@ -3,7 +3,6 @@
//
// You must generate dist/custom-elements.json before running this script.
//
import chalk from 'chalk';
import commandLineArgs from 'command-line-args';
import fs from 'fs';
import path from 'path';

Wyświetl plik

@ -87,7 +87,6 @@ export default class SlRange extends LitElement {
connectedCallback() {
super.connectedCallback();
this.handleSlotChange = this.handleSlotChange;
this.resizeObserver = new ResizeObserver(() => this.syncRange());
this.shadowRoot!.addEventListener('slotchange', this.handleSlotChange);