Skip to content

Commit 53bf8ab

Browse files
committed
test: linter exception
1 parent d29b290 commit 53bf8ab

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

eslint.config.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ export default defineConfig([
7575
varsIgnorePattern: '^_',
7676
},
7777
],
78+
7879
'@typescript-eslint/no-use-before-define': ['error'],
7980
'@typescript-eslint/restrict-template-expressions': 'off',
8081
'@typescript-eslint/naming-convention': [

src/repo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ export async function loadFileToSpec(
487487
const data = (await deps.loadYaml(filePath)) || {}
488488
// ensure that local path does not include envDir and the leading slash
489489
const localFilePath = filePath.replace(fileMap.envDir, '').replace(/^\/+/, '')
490-
490+
// eslint-disable-next-line no-param-reassign
491491
spec.files[localFilePath] = data
492492
if (fileMap.processAs === 'arrayItem') {
493493
const ref: Record<string, any>[] = get(spec, jsonPath)

0 commit comments

Comments
 (0)