diff --git a/index.js b/index.js index 9660945..83a50a1 100644 --- a/index.js +++ b/index.js @@ -143,7 +143,13 @@ export default function createConfig ({ } if (needsPrettier) { // Prettier recommends an explicit configuration file to let the editor know that it's used. - files['.prettierrc.json'] = prettierrcs[styleGuide] || '{}' + files['.prettierrc.json'] = prettierrcs[styleGuide] || `{ + "semi": false, + "tabWidth": 2, + "singleQuote": true, + "printWidth": 100, + "trailingComma": "none" +}` } return {