chore: add shared prettier config
This commit is contained in:
parent
c81b555d40
commit
72287677d4
20 changed files with 72 additions and 80 deletions
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
"tabWidth": 4,
|
||||
"semi": false,
|
||||
"plugins": ["prettier-plugin-tailwindcss"]
|
||||
}
|
4
apps/blog/.prettierrc.cjs
Normal file
4
apps/blog/.prettierrc.cjs
Normal file
|
@ -0,0 +1,4 @@
|
|||
module.exports = {
|
||||
...require("@developomp-site/prettier-config"),
|
||||
plugins: ["prettier-plugin-tailwindcss"],
|
||||
}
|
|
@ -28,6 +28,7 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@developomp-site/eslint-config": "workspace:*",
|
||||
"@developomp-site/prettier-config": "workspace:*",
|
||||
"@developomp-site/tailwind-config": "workspace:*",
|
||||
"@types/highlight.js": "^10.1.0",
|
||||
"@types/katex": "^0.16.0",
|
||||
|
|
|
@ -1,17 +0,0 @@
|
|||
.DS_Store
|
||||
node_modules
|
||||
/build
|
||||
/.svelte-kit
|
||||
/package
|
||||
.env
|
||||
.env.*
|
||||
!.env.example
|
||||
.vercel
|
||||
.output
|
||||
vite.config.js.timestamp-*
|
||||
vite.config.ts.timestamp-*
|
||||
|
||||
# Ignore files for PNPM, NPM and YARN
|
||||
pnpm-lock.yaml
|
||||
package-lock.json
|
||||
yarn.lock
|
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
"tabWidth": 4,
|
||||
"semi": false,
|
||||
"plugins": ["prettier-plugin-svelte", "prettier-plugin-tailwindcss"],
|
||||
"overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }]
|
||||
}
|
10
apps/main/.prettierrc.cjs
Normal file
10
apps/main/.prettierrc.cjs
Normal file
|
@ -0,0 +1,10 @@
|
|||
const sharedConfig = require("@developomp-site/prettier-config")
|
||||
|
||||
module.exports = {
|
||||
...sharedConfig,
|
||||
plugins: ["prettier-plugin-svelte", "prettier-plugin-tailwindcss"],
|
||||
overrides: [
|
||||
...sharedConfig.overrides,
|
||||
{ files: "*.svelte", options: { parser: "svelte" } },
|
||||
],
|
||||
}
|
|
@ -13,6 +13,7 @@
|
|||
"devDependencies": {
|
||||
"@developomp-site/content": "workspace:*",
|
||||
"@developomp-site/eslint-config": "workspace:*",
|
||||
"@developomp-site/prettier-config": "workspace:*",
|
||||
"@developomp-site/tailwind-config": "workspace:*",
|
||||
"@fontsource/noto-sans-kr": "^5.0.5",
|
||||
"@inqling/svelte-icons": "^3.3.2",
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
"semi": false,
|
||||
"tabWidth": 4,
|
||||
"plugins": ["prettier-plugin-tailwindcss"]
|
||||
}
|
4
apps/portfolio/.prettierrc.cjs
Normal file
4
apps/portfolio/.prettierrc.cjs
Normal file
|
@ -0,0 +1,4 @@
|
|||
module.exports = {
|
||||
...require("@developomp-site/prettier-config"),
|
||||
plugins: ["prettier-plugin-tailwindcss"],
|
||||
}
|
|
@ -23,6 +23,7 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@developomp-site/content": "workspace:*",
|
||||
"@developomp-site/prettier-config": "workspace:*",
|
||||
"@developomp-site/tailwind-config": "workspace:*",
|
||||
"@linaria/babel-preset": "^4.4.5",
|
||||
"@linaria/vite": "^4.2.11",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue