Skip to content

Commit

Permalink
chore: fix prettier format
Browse files Browse the repository at this point in the history
  • Loading branch information
juliencrn committed Jun 6, 2023
1 parent e45323d commit c6dabf6
Show file tree
Hide file tree
Showing 9 changed files with 28 additions and 45 deletions.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ dist
.turbo
public
.cache
pnpm-lock.yaml
15 changes: 13 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"generated/**": true,
".cache/**": true,
".git/**": true,
"**/package-lock.json": true
"**/package-lock.json": true,
"**/pnpm-lock.yaml": true
},
"eslint.validate": [
"javascript",
Expand All @@ -25,6 +26,7 @@
"source.fixAll.eslint": true,
"source.fixAll": true
},
"editor.defaultFormatter": "esbenp.prettier-vscode",
"cSpell.words": [
"algolia",
"clsx",
Expand Down Expand Up @@ -58,5 +60,14 @@
"directory": "packages/usehooks-ts",
"changeProcessCWD": true
}
]
],
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[yaml]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
![npm bundle size](https://img.shields.io/bundlephobia/minzip/usehooks-ts)
![npm](https://img.shields.io/npm/v/usehooks-ts)<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
[![All Contributors](https://img.shields.io/badge/all_contributors-88-orange.svg?style=flat-square)](#contributors-)

<!-- ALL-CONTRIBUTORS-BADGE:END -->

<br />
Expand Down
5 changes: 1 addition & 4 deletions apps/www/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
{
"extends": [
"next/core-web-vitals",
"custom"
]
"extends": ["next/core-web-vitals", "custom"]
}
2 changes: 1 addition & 1 deletion apps/www/src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,6 @@
}
body {
@apply bg-background text-foreground;
font-feature-settings: "rlig" 1, "calt" 1;
font-feature-settings: 'rlig' 1, 'calt' 1;
}
}
21 changes: 4 additions & 17 deletions apps/www/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
{
"compilerOptions": {
"target": "es5",
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
Expand All @@ -24,18 +20,9 @@
}
],
"paths": {
"@/*": [
"./src/*"
],
"@/*": ["./src/*"]
}
},
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts",
],
"exclude": [
"node_modules",
]
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules"]
}
10 changes: 2 additions & 8 deletions packages/usehooks-ts/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,7 @@
"esModuleInterop": true,
"jsx": "react-jsx",
"strict": true,
"lib": [
"ESNEXT",
"DOM"
]
"lib": ["ESNEXT", "DOM"]
},
"exclude": [
"node_modules",
"dist",
]
"exclude": ["node_modules", "dist"]
}
4 changes: 2 additions & 2 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
packages:
- "apps/*"
- "packages/*"
- 'apps/*'
- 'packages/*'
14 changes: 3 additions & 11 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,8 @@
"$schema": "https://turbo.build/schema.json",
"pipeline": {
"build": {
"dependsOn": [
"^build"
],
"outputs": [
".next/**",
"!.next/cache/**",
"dist"
]
"dependsOn": ["^build"],
"outputs": [".next/**", "!.next/cache/**", "dist"]
},
"lint": {
"outputs": [],
Expand All @@ -24,9 +18,7 @@
"cache": false
},
"dev": {
"dependsOn": [
"^build"
],
"dependsOn": ["^build"],
"outputs": [],
"cache": false
},
Expand Down

0 comments on commit c6dabf6

Please sign in to comment.