chore: add shared prettier config
This commit is contained in:
parent
c81b555d40
commit
72287677d4
20 changed files with 72 additions and 80 deletions
|
@ -1,13 +1 @@
|
|||
{
|
||||
"tabWidth": 4,
|
||||
"semi": false,
|
||||
"trailingComma": "es5",
|
||||
"overrides": [
|
||||
{
|
||||
"files": "*.md",
|
||||
"options": {
|
||||
"tabWidth": 2
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
"@developomp-site/prettier-config"
|
||||
|
|
|
@ -41,6 +41,7 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@developomp-site/eslint-config": "workspace:*",
|
||||
"@developomp-site/prettier-config": "workspace:*",
|
||||
"@types/elasticlunr": "^0.9.5",
|
||||
"@types/jsdom": "^21.1.1",
|
||||
"@types/node": "^20.4.1",
|
||||
|
|
|
@ -1,12 +1 @@
|
|||
{
|
||||
"tabWidth": 4,
|
||||
"semi": false,
|
||||
"overrides": [
|
||||
{
|
||||
"files": "*.md",
|
||||
"options": {
|
||||
"tabWidth": 2
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
"@developomp-site/prettier-config"
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
"clean": "rm -rf node_modules"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@developomp-site/prettier-config": "workspace:*",
|
||||
"@typescript-eslint/eslint-plugin": "^5.61.0",
|
||||
"@typescript-eslint/parser": "^5.61.0",
|
||||
"eslint": "^8.44.0",
|
||||
|
|
19
packages/prettier-config/index.json
Normal file
19
packages/prettier-config/index.json
Normal file
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"$schema": "http://json.schemastore.org/prettierrc",
|
||||
"tabWidth": 4,
|
||||
"semi": false,
|
||||
"overrides": [
|
||||
{
|
||||
"files": "*.md",
|
||||
"options": {
|
||||
"tabWidth": 2
|
||||
}
|
||||
},
|
||||
{
|
||||
"files": ".firebaserc",
|
||||
"options": {
|
||||
"tabWidth": 2
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
5
packages/prettier-config/package.json
Normal file
5
packages/prettier-config/package.json
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"name": "@developomp-site/prettier-config",
|
||||
"version": "0.0.0",
|
||||
"main": "index.json"
|
||||
}
|
|
@ -1,4 +1 @@
|
|||
{
|
||||
"tabWidth": 4,
|
||||
"semi": false
|
||||
}
|
||||
"@developomp-site/prettier-config"
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@developomp-site/eslint-config": "workspace:*",
|
||||
"@developomp-site/prettier-config": "workspace:*",
|
||||
"eslint": "^8.44.0",
|
||||
"tailwindcss": "^3.3.2"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue