fix lgtm warnings

This commit is contained in:
Cory LaViska
2021-11-24 10:59:31 -05:00
parent 4304d8badd
commit d80fe902b3
6 changed files with 0 additions and 10 deletions

View File

@@ -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([

View File

@@ -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';

View File

@@ -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';

View File

@@ -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');

View File

@@ -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';

View File

@@ -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);