Skip to content

Commit 8dc0843

Browse files
committed
fix: usertab false added to tempalte
1 parent 4fa8f1b commit 8dc0843

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

src/commands/fs/prettier.config.js

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -53,21 +53,21 @@ function findDirectories(startPath, callback, fileName) {
5353

5454
function createOrUpdateFile(directoryPath, fileName) {
5555
const fileContent = `module.exports = {
56-
tabWidth: 4,
57-
semi: true,
58-
trailingComma: "none",
59-
bracketSameLine: true,
60-
useTabs: true,
61-
overrides: [
62-
{
63-
files: ["*.json", "*.yml", "*.yaml"],
64-
options: {
65-
tabWidth: 2,
66-
},
67-
}
68-
],
69-
};
70-
`;
56+
tabWidth: 4,
57+
semi: true,
58+
trailingComma: "none",
59+
bracketSameLine: true,
60+
useTabs: true,
61+
overrides: [
62+
{
63+
files: ["*.json", "*.yml", "*.yaml"],
64+
options: {
65+
tabWidth: 2,
66+
useTabs: false
67+
},
68+
}
69+
],
70+
};`;
7171

7272
const filePath = path.join(directoryPath, fileName);
7373
// Create or update the file

0 commit comments

Comments
 (0)