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 fdb6d51 commit 961e76bCopy full SHA for 961e76b
packages/language-server/src/plugins/svelte/SveltePlugin.ts
@@ -77,7 +77,9 @@ export class SveltePlugin
77
});
78
// Take .prettierignore into account
79
const fileInfo = await prettier.getFileInfo(filePath, {
80
- ignorePath: this.prettierConfig?.ignorePath ?? '.prettierignore'
+ ignorePath: this.prettierConfig?.ignorePath ?? '.prettierignore',
81
+ // Sapper places stuff within src/node_modules, we want to format that, too
82
+ withNodeModules: true
83
84
if (fileInfo.ignored) {
85
Logger.log('File is ignored, formatting skipped');
0 commit comments