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'),