Skip to content

Commit

Permalink
fix: TypeScript configuration merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Dschungelabenteuer committed Feb 16, 2025
1 parent c05642a commit c8fe42c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .changeset/afraid-trees-join.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"@yungezeit/eslint-typescript": patch
"@yungezeit/eslint-base": patch
"@yungezeit/eslint-cypress": patch
"@yungezeit/eslint-storybook": patch
"@yungezeit/eslint-vue": patch
---

Fixed TypeScript configuration merge
2 changes: 1 addition & 1 deletion presets/typescript/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const flatConfig = [...basePreset, ...tsPreset, testFiles, delegateBaseRu
* @param options {TsOptions} TypeScript preset options.
*/
export function createTsConfig(configs, options) {
let finalConfig = createBaseConfig(configs, {
let finalConfig = createBaseConfig([...configs, ...flatConfig], {
internalPatterns: options.internalPatterns,
node: options.node,
});
Expand Down

0 comments on commit c8fe42c

Please sign in to comment.