Skip to content

Commit

Permalink
๐Ÿ› fix: global prettier ์ ์šฉ ์•ˆ๋˜๋Š” ๋ฒ„๊ทธ ์ˆ˜์ •
Browse files Browse the repository at this point in the history
  • Loading branch information
qwer0114 committed Jan 13, 2025
1 parent 8fa4d23 commit 3155d01
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 209 deletions.
16 changes: 16 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"printWidth": 120,
"trailingComma": "all",
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"bracketSpacing": true,
"arrowParens": "always",
"useTabs": false,
"plugins": ["@trivago/prettier-plugin-sort-imports", "prettier-plugin-tailwindcss"],
"importOrder": ["^react(.*)$", "^@components(.*)$", "<THIRD_PARTY_MODULES>", "^[./]"],
"importOrderSeparation": false,
"importOrderSortSpecifiers": true,
"importOrderCaseInsensitive": true,
"importOrderParserPlugins": ["typescript", "jsx"]
}
4 changes: 1 addition & 3 deletions apps/admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"devDependencies": {
"@eslint/eslintrc": "^3",
"@repo/eslint-config": "*",
"@repo/prettier-config": "*",
"@repo/tailwind-config": "*",
"@repo/ui": "*",
"@types/node": "^20",
Expand All @@ -31,6 +30,5 @@
"postcss": "^8.4.49",
"tailwindcss": "^3.4.17",
"typescript": "^5"
},
"prettier": "@repo/prettier-config"
}
}
4 changes: 1 addition & 3 deletions apps/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"devDependencies": {
"@eslint/js": "^9.17.0",
"@repo/eslint-config": "*",
"@repo/prettier-config": "*",
"@repo/tailwind-config": "*",
"@repo/ui": "*",
"@types/react": "^18.3.18",
Expand All @@ -36,6 +35,5 @@
"typescript": "~5.6.2",
"typescript-eslint": "^8.18.2",
"vite": "^6.0.5"
},
"prettier": "@repo/prettier-config"
}
}
24 changes: 0 additions & 24 deletions configs/prettier-config/index.js

This file was deleted.

10 changes: 0 additions & 10 deletions configs/prettier-config/package.json

This file was deleted.

Loading

0 comments on commit 3155d01

Please sign in to comment.