We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 601d4c8 commit fcd6a6dCopy full SHA for fcd6a6d
.changeset/mean-turkeys-sit.md
@@ -0,0 +1,5 @@
1
+---
2
+'sv': patch
3
4
+
5
+fix: use 'prettier' instead of ['flat/prettier']
packages/addons/common.ts
@@ -31,9 +31,7 @@ export function addEslintConfigPrettier(content: string): string {
31
return content;
32
33
const prettier = common.expressionFromString('prettier');
34
- const sveltePrettierConfig = common.expressionFromString(
35
- `${svelteImportName}.configs['flat/prettier']`
36
- );
+ const sveltePrettierConfig = common.expressionFromString(`${svelteImportName}.configs.prettier`);
37
const configSpread = common.createSpreadElement(sveltePrettierConfig);
38
39
const nodesToInsert = [];
0 commit comments