Skip to content

Commit

Permalink
fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
alicewriteswrongs committed Feb 16, 2023
1 parent 65f37aa commit 3dc0c4b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 4 additions & 3 deletions src/compiler/transformers/test/rewrite-aliased-paths.spec.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import { transpileModule } from './transpile';
import { CompilerCtx } from '@stencil/core/declarations';
import { mockCompilerCtx, mockValidatedConfig } from '@stencil/core/testing';
import path from 'path';
import ts from 'typescript';

import { rewriteAliasedDTSImportPaths, rewriteAliasedSourceFileImportPaths } from '../rewrite-aliased-paths';
import { CompilerCtx } from '@stencil/core/declarations';
import path from 'path';
import { transpileModule } from './transpile';

async function pathTransformTranspile(component: string) {
const compilerContext: CompilerCtx = mockCompilerCtx();
Expand Down
4 changes: 3 additions & 1 deletion src/compiler/transformers/test/transpile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import type * as d from '@stencil/core/declarations';
import { mockBuildCtx, mockCompilerCtx, mockConfig } from '@stencil/core/testing';
import path from 'path';
import ts from 'typescript';
import { patchTypescript } from '../../sys/typescript/typescript-sys';

import { patchTypescript } from '../../sys/typescript/typescript-sys';
import { convertDecoratorsToStatic } from '../decorators-to-static/convert-decorators';
import { updateModule } from '../static-to-meta/parse-static';
import { convertStaticToMeta } from '../static-to-meta/visitor';
Expand All @@ -17,6 +17,8 @@ import { getScriptTarget } from '../transform-utils';
* @param compilerCtx a compiler context to use in the transpilation process
* @param beforeTransformers TypeScript transformers that should be applied before the code is emitted
* @param afterTransformers TypeScript transformers that should be applied after the code is emitted
* @param afterDeclarations TypeScript transformers that should be applied
* after declarations are generated
* @param tsConfig optional typescript compiler options to use
* @returns the result of the transpilation step
*/
Expand Down

0 comments on commit 3dc0c4b

Please sign in to comment.