diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 00000000..fc89922e --- /dev/null +++ b/.prettierignore @@ -0,0 +1,4 @@ +out/ +dist/ +test-fixtures/ +node_modules/ diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 00000000..0fe87692 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,23 @@ +{ + "printWidth":100, + "tabWidth":2, + "useTabs":false, + "semi":false, + "singleQuote":false, + "trailingComma":"es5", + "bracketSpacing":false, + "jsxBracketSameLine":false, + "arrowParens":"always", + "requirePragma":false, + "insertPragma":false, + "proseWrap":"preserve", + "parser":"babel" + "overrides": [ + { + "files": "*.js", + "options": { + "parser": "babel" + } + } + ] +}