File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff 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' : [
Original file line number Diff line number Diff 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 )
You can’t perform that action at this time.
0 commit comments