diff --git a/templates/_prettierrc.json.ejs b/templates/_prettierrc.json.ejs index 3467db5..0fbb6e1 100644 --- a/templates/_prettierrc.json.ejs +++ b/templates/_prettierrc.json.ejs @@ -1,28 +1,16 @@ <%_ if (styleGuide === 'airbnb') { _%> { "$schema": "https://json.schemastore.org/prettierrc", - "arrowParens": "always", - "bracketSameLine": false, - "bracketSpacing": true, - "endOfLine": "lf", - "jsxSingleQuote": false, "printWidth": 100, - "proseWrap": "preserve", - "quoteProps": "as-needed", - "semi": true, - "singleQuote": true, - "tabWidth": 2, - "trailingComma": "all", - "useTabs": false + "singleQuote": true } <%_ } else if (styleGuide === 'standard') { _%> { "$schema": "https://json.schemastore.org/prettierrc", "semi": false, - "tabWidth": 2, "singleQuote": true, - "printWidth": 100, - "trailingComma": "all" + "jsxSingleQuote": true, + "trailingComma": "none" } <%_ } else { _%> <%#