mirror of
https://github.com/vercel/commerce.git
synced 2025-06-08 09:16:58 +00:00
Updated prettier config
This commit is contained in:
parent
b0de9241e4
commit
502b0378da
@ -1,3 +1,4 @@
|
|||||||
|
# Every package defines its prettier config
|
||||||
node_modules
|
node_modules
|
||||||
.next
|
packages
|
||||||
public
|
site
|
||||||
|
10
.prettierrc
10
.prettierrc
@ -2,13 +2,5 @@
|
|||||||
"semi": false,
|
"semi": false,
|
||||||
"singleQuote": true,
|
"singleQuote": true,
|
||||||
"tabWidth": 2,
|
"tabWidth": 2,
|
||||||
"useTabs": false,
|
"useTabs": false
|
||||||
"overrides": [
|
|
||||||
{
|
|
||||||
"files": ["framework/saleor/**/*"],
|
|
||||||
"options": {
|
|
||||||
"printWidth": 120
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
2
package-lock.json
generated
2
package-lock.json
generated
@ -9296,6 +9296,7 @@
|
|||||||
"lint-staged": "^12.1.7",
|
"lint-staged": "^12.1.7",
|
||||||
"postcss-flexbugs-fixes": "^5.0.2",
|
"postcss-flexbugs-fixes": "^5.0.2",
|
||||||
"postcss-preset-env": "^6.7.0",
|
"postcss-preset-env": "^6.7.0",
|
||||||
|
"prettier": "^2.5.1",
|
||||||
"typescript": "4.3.4"
|
"typescript": "4.3.4"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
@ -13345,6 +13346,7 @@
|
|||||||
"postcss-flexbugs-fixes": "^5.0.2",
|
"postcss-flexbugs-fixes": "^5.0.2",
|
||||||
"postcss-nesting": "^8.0.1",
|
"postcss-nesting": "^8.0.1",
|
||||||
"postcss-preset-env": "^6.7.0",
|
"postcss-preset-env": "^6.7.0",
|
||||||
|
"prettier": "*",
|
||||||
"react": "^17.0.2",
|
"react": "^17.0.2",
|
||||||
"react-dom": "^17.0.2",
|
"react-dom": "^17.0.2",
|
||||||
"react-fast-marquee": "^1.1.4",
|
"react-fast-marquee": "^1.1.4",
|
||||||
|
@ -5,6 +5,9 @@
|
|||||||
"site",
|
"site",
|
||||||
"packages/*"
|
"packages/*"
|
||||||
],
|
],
|
||||||
|
"scripts": {
|
||||||
|
"prettier-fix": "prettier --write ."
|
||||||
|
},
|
||||||
"turbo": {
|
"turbo": {
|
||||||
"baseBranch": "origin/main",
|
"baseBranch": "origin/main",
|
||||||
"pipeline": {
|
"pipeline": {
|
||||||
@ -26,6 +29,9 @@
|
|||||||
"lint": {
|
"lint": {
|
||||||
"outputs": []
|
"outputs": []
|
||||||
},
|
},
|
||||||
|
"prettier-fix": {
|
||||||
|
"outputs": []
|
||||||
|
},
|
||||||
"dev": {
|
"dev": {
|
||||||
"cache": false
|
"cache": false
|
||||||
},
|
},
|
||||||
|
3
site/.prettierignore
Normal file
3
site/.prettierignore
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
node_modules
|
||||||
|
.next
|
||||||
|
public
|
6
site/.prettierrc
Normal file
6
site/.prettierrc
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"semi": false,
|
||||||
|
"singleQuote": true,
|
||||||
|
"tabWidth": 2,
|
||||||
|
"useTabs": false
|
||||||
|
}
|
@ -54,6 +54,7 @@
|
|||||||
"lint-staged": "^12.1.7",
|
"lint-staged": "^12.1.7",
|
||||||
"postcss-flexbugs-fixes": "^5.0.2",
|
"postcss-flexbugs-fixes": "^5.0.2",
|
||||||
"postcss-preset-env": "^6.7.0",
|
"postcss-preset-env": "^6.7.0",
|
||||||
|
"prettier": "^2.5.1",
|
||||||
"typescript": "4.3.4"
|
"typescript": "4.3.4"
|
||||||
},
|
},
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user