kopia lustrzana https://github.com/shoelace-style/shoelace
fix lgtm warnings
rodzic
4304d8badd
commit
d80fe902b3
|
@ -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([
|
||||
|
|
|
@ -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';
|
||||
|
|
|
@ -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';
|
||||
|
||||
|
|
|
@ -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');
|
||||
|
|
|
@ -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';
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue