Skip to content

Commit

Permalink
Merge branch 'PrettierConfig2' into v3-reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
rschlaefli committed Aug 27, 2024
2 parents d6beef8 + f8f5411 commit 3fcadc7
Show file tree
Hide file tree
Showing 50 changed files with 292 additions and 1,145 deletions.
19 changes: 18 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1 +1,18 @@
cypress/e2e/
cypress/e2e/
node_modules/
.next/
.turbo/
.vercel/
dist/
out/
build/
email/

ops.schema.json
ops.ts
schema.graphql
nexus-typegen.ts
client.json
server.json

*.sql
4 changes: 3 additions & 1 deletion .prettierrc.js → .prettierrc.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
module.exports = {
export default {
semi: false,
singleQuote: true,
trailingComma: 'es5',
// tabWidth: 2,
// printWidth: 120,
plugins: ['prettier-plugin-organize-imports', 'prettier-plugin-tailwindcss'],
}
3 changes: 2 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"prisma.prisma",
"stivo.tailwind-fold",
"wix.vscode-import-cost",
"yzhang.markdown-all-in-one"
"yzhang.markdown-all-in-one",
"folke.vscode-monorepo-workspace"
]
}
28 changes: 24 additions & 4 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,28 @@
"files.associations": {
"plyconfig.json": "jsonc"
},
"prettier.configPath": ".prettierrc.js",
"editor.defaultFormatter": "esbenp.prettier-vscode",
"notebook.defaultFormatter": "esbenp.prettier-vscode",
"prettier.prettierPath": "./node_modules/prettier"
"prettier.requireConfig": true,
"prettier.useEditorConfig": false,
"prettier.configPath": "${workspaceFolder}/.prettierrc.js",
"prettier.resolveGlobalModules": true,
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"eslint.workingDirectories": [
{
"pattern": "apps/*/"
},
{
"pattern": "packages/*/"
}
]
}
4 changes: 0 additions & 4 deletions apps/auth/.prettierignore

This file was deleted.

9 changes: 0 additions & 9 deletions apps/auth/.prettierrc.js

This file was deleted.

3 changes: 0 additions & 3 deletions apps/auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@
"eslint-config-next": "14.1.0",
"postcss": "8.4.41",
"postcss-import": "16.1.0",
"prettier": "2.8.8",
"prettier-plugin-organize-imports": "3.2.3",
"prettier-plugin-tailwindcss": "0.4.1",
"prisma": "5.18.0",
"tailwindcss": "3.4.9",
"typescript": "5.4.5"
Expand Down
5 changes: 0 additions & 5 deletions apps/backend-docker/.prettierignore

This file was deleted.

6 changes: 0 additions & 6 deletions apps/backend-docker/.prettierrc.cjs

This file was deleted.

4 changes: 0 additions & 4 deletions apps/frontend-control/.prettierignore

This file was deleted.

9 changes: 0 additions & 9 deletions apps/frontend-control/.prettierrc.js

This file was deleted.

3 changes: 0 additions & 3 deletions apps/frontend-control/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,6 @@
"eslint-config-next": "14.1.0",
"postcss": "8.4.41",
"postcss-import": "16.1.0",
"prettier": "2.8.8",
"prettier-plugin-organize-imports": "3.2.3",
"prettier-plugin-tailwindcss": "0.4.1",
"tailwindcss": "3.4.9",
"tailwindcss-radix": "3.0.3",
"ts-node": "10.9.1",
Expand Down
4 changes: 0 additions & 4 deletions apps/frontend-manage/.prettierignore

This file was deleted.

9 changes: 0 additions & 9 deletions apps/frontend-manage/.prettierrc.js

This file was deleted.

3 changes: 0 additions & 3 deletions apps/frontend-manage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,6 @@
"eslint-config-next": "14.1.0",
"postcss": "8.4.41",
"postcss-import": "16.1.0",
"prettier": "2.8.8",
"prettier-plugin-organize-imports": "3.2.3",
"prettier-plugin-tailwindcss": "0.4.1",
"tailwindcss": "3.4.9",
"tailwindcss-radix": "3.0.3",
"typescript": "5.4.5"
Expand Down
4 changes: 0 additions & 4 deletions apps/frontend-pwa/.prettierignore

This file was deleted.

9 changes: 0 additions & 9 deletions apps/frontend-pwa/.prettierrc.js

This file was deleted.

3 changes: 0 additions & 3 deletions apps/frontend-pwa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,6 @@
"eslint-config-next": "14.1.0",
"postcss": "8.4.41",
"postcss-import": "16.1.0",
"prettier": "2.8.8",
"prettier-plugin-organize-imports": "3.2.3",
"prettier-plugin-tailwindcss": "0.4.1",
"tailwindcss": "3.4.9",
"tailwindcss-radix": "3.0.3",
"ts-node": "10.9.1",
Expand Down
6 changes: 0 additions & 6 deletions apps/func-incoming-responses/.prettierrc.js

This file was deleted.

2 changes: 0 additions & 2 deletions apps/func-incoming-responses/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
"dotenv": "16.4.5",
"eslint": "8.45.0",
"npm-run-all": "4.1.5",
"prettier": "2.8.8",
"prettier-plugin-organize-imports": "3.2.3",
"tsup": "7.2.0",
"typescript": "5.4.5"
},
Expand Down
6 changes: 0 additions & 6 deletions apps/func-migration-v2-export/.prettierrc.js

This file was deleted.

2 changes: 0 additions & 2 deletions apps/func-migration-v2-export/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
"cross-env": "7.0.3",
"eslint": "8.45.0",
"npm-run-all": "4.1.5",
"prettier": "2.8.8",
"prettier-plugin-organize-imports": "3.2.3",
"tsup": "7.2.0",
"typescript": "5.4.5"
},
Expand Down
6 changes: 0 additions & 6 deletions apps/func-migration-v3-import/.prettierrc.js

This file was deleted.

2 changes: 0 additions & 2 deletions apps/func-migration-v3-import/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@
"cross-env": "7.0.3",
"eslint": "8.45.0",
"npm-run-all": "4.1.5",
"prettier": "2.8.8",
"prettier-plugin-organize-imports": "3.2.3",
"prisma": "5.18.0",
"ts-node": "10.9.1",
"tsup": "7.2.0",
Expand Down
6 changes: 0 additions & 6 deletions apps/func-response-processor/.prettierrc.js

This file was deleted.

2 changes: 0 additions & 2 deletions apps/func-response-processor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
"dotenv": "16.4.5",
"eslint": "8.45.0",
"npm-run-all": "4.1.5",
"prettier": "2.8.8",
"prettier-plugin-organize-imports": "3.2.3",
"tsup": "7.2.0",
"typescript": "5.4.5"
},
Expand Down
5 changes: 0 additions & 5 deletions apps/office-addin/.prettierignore

This file was deleted.

6 changes: 0 additions & 6 deletions apps/office-addin/.prettierrc.js

This file was deleted.

2 changes: 0 additions & 2 deletions apps/office-addin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@
"office-addin-prettier-config": "1.2.0",
"os-browserify": "0.3.0",
"postcss": "8.4.41",
"prettier": "2.8.8",
"prettier-plugin-organize-imports": "3.2.3",
"process": "0.11.10",
"source-map-loader": "4.0.1",
"tailwindcss": "3.4.9",
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"devDependencies": {
"@prisma/nextjs-monorepo-workaround-plugin": "5.18.0",
"cross-env": "7.0.3",
"eslint-config-prettier": "9.1.0",
"husky": "8.0.3",
"prettier": "3.3.3",
"prettier-plugin-organize-imports": "4.0.0",
Expand Down
3 changes: 0 additions & 3 deletions packages/grading/.prettierignore

This file was deleted.

6 changes: 0 additions & 6 deletions packages/grading/.prettierrc.cjs

This file was deleted.

2 changes: 0 additions & 2 deletions packages/grading/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
"cross-env": "7.0.3",
"eslint": "8.45.0",
"jest": "29.5.0",
"prettier": "2.8.8",
"prettier-plugin-organize-imports": "3.2.3",
"size-limit": "8.2.4",
"ts-jest": "29.1.0",
"tsup": "7.2.0",
Expand Down
13 changes: 0 additions & 13 deletions packages/graphql/.prettierignore

This file was deleted.

6 changes: 0 additions & 6 deletions packages/graphql/.prettierrc.cjs

This file was deleted.

2 changes: 0 additions & 2 deletions packages/graphql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@
"jest": "29.5.0",
"npm-run-all": "4.1.5",
"nyc": "15.1.0",
"prettier": "2.8.8",
"prettier-plugin-organize-imports": "3.2.3",
"size-limit": "8.2.4",
"source-map-support": "0.5.21",
"ts-node": "10.9.1",
Expand Down
6 changes: 0 additions & 6 deletions packages/i18n/.prettierrc.cjs

This file was deleted.

4 changes: 0 additions & 4 deletions packages/markdown/.prettierignore

This file was deleted.

9 changes: 0 additions & 9 deletions packages/markdown/.prettierrc.cjs

This file was deleted.

3 changes: 0 additions & 3 deletions packages/markdown/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@
"eslint": "8.45.0",
"npm-run-all": "4.1.5",
"postcss-import": "16.1.0",
"prettier": "2.8.8",
"prettier-plugin-organize-imports": "3.2.3",
"prettier-plugin-tailwindcss": "0.4.1",
"size-limit": "8.2.4",
"tailwindcss": "3.4.9",
"tailwindcss-radix": "3.0.3",
Expand Down
6 changes: 0 additions & 6 deletions packages/prisma/.prettierrc.cjs

This file was deleted.

2 changes: 0 additions & 2 deletions packages/prisma/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@
"fs-extra": "11.1.1",
"npm-run-all": "4.1.5",
"p-map": "7.0.2",
"prettier": "2.8.8",
"prettier-plugin-organize-imports": "3.2.3",
"prisma": "5.18.0",
"prisma-json-types-generator": "3.0.4",
"ramda": "0.29.0",
Expand Down
2 changes: 0 additions & 2 deletions packages/shared-components/.prettierignore

This file was deleted.

6 changes: 0 additions & 6 deletions packages/shared-components/.prettierrc.cjs

This file was deleted.

2 changes: 0 additions & 2 deletions packages/shared-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
"lodash": "4.17.21",
"npm-run-all": "4.1.5",
"postcss-import": "16.1.0",
"prettier": "2.8.8",
"prettier-plugin-tailwindcss": "0.4.1",
"recharts": "2.7.2",
"remark-parse": "10.0.2",
"remark-slate": "1.8.6",
Expand Down
Loading

0 comments on commit 3fcadc7

Please sign in to comment.