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 2d17e0d commit 5647b57Copy full SHA for 5647b57
index.js
@@ -143,7 +143,13 @@ export default function createConfig ({
143
}
144
if (needsPrettier) {
145
// Prettier recommends an explicit configuration file to let the editor know that it's used.
146
- files['.prettierrc.json'] = prettierrcs[styleGuide] || '{}'
+ files['.prettierrc.json'] = prettierrcs[styleGuide] || `{
147
+ "semi": false,
148
+ "tabWidth": 2,
149
+ "singleQuote": true,
150
+ "printWidth": 100,
151
+ "trailingComma": "none"
152
+}`
153
154
155
return {
0 commit comments