diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..ec41f99 --- /dev/null +++ b/.prettierignore @@ -0,0 +1,27 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* + +# lockfile +pnpm-lock.yaml + +node_modules +dist +dist-ssr +*.local + +# Editor directories and files +.vscode/* +!.vscode/extensions.json +.idea +.DS_Store +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..d7a5a9c --- /dev/null +++ b/.prettierrc @@ -0,0 +1,8 @@ +{ + "jsxSingleQuote": true, + "semi": true, + "tabWidth": 4, + "useTabs": false, + "trailingComma": "es5", + "singleQuote": true +}