From bfd08357a2b8104d3f981b3fd8a50e32185930fb Mon Sep 17 00:00:00 2001 From: Alvis HT Tang Date: Sat, 14 May 2022 11:07:01 +0100 Subject: [PATCH] chore: update package dependencies --- source/index.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/index.ts b/source/index.ts index 65723b7..f51cd43 100644 --- a/source/index.ts +++ b/source/index.ts @@ -18,9 +18,8 @@ import { loadFile, template } from 'presetter'; import { getRollupParameter } from './rollup'; -import type { PresetAsset } from 'presetter'; - import type { RollupConfig } from './rollup'; +import type { PresetAsset } from 'presetter'; // paths to the template directory const TEMPLATES = resolve(__dirname, '..', 'templates'); @@ -51,6 +50,7 @@ export const DEFAULT_VARIABLE: Variable = { export default async function (): Promise { return { template: { + /* eslint-disable @typescript-eslint/naming-convention */ 'rollup.config.ts': async (context) => { const content = await loadFile( resolve(TEMPLATES, 'rollup.config.ts'), @@ -59,6 +59,7 @@ export default async function (): Promise { const variable = await getRollupParameter(context); return template(content, variable); + /* eslint-enable @typescript-eslint/naming-convention */ }, }, scripts: resolve(TEMPLATES, 'scripts.yaml'),