chore: Add prettier configs

This commit is contained in:
Ashhhleyyy 2022-07-04 18:02:02 +01:00
parent 949f83a6f4
commit 8c2f35d823
Signed by: ash
GPG key ID: 83B789081A0878FB
2 changed files with 35 additions and 0 deletions

27
.prettierignore Normal file
View file

@ -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?

8
.prettierrc Normal file
View file

@ -0,0 +1,8 @@
{
"jsxSingleQuote": true,
"semi": true,
"tabWidth": 4,
"useTabs": false,
"trailingComma": "es5",
"singleQuote": true
}