Skip to content

Commit

Permalink
Merge pull request #1800 from ever-co/enhance/prettier-configuration-…
Browse files Browse the repository at this point in the history
…in-package-json

Enhance/prettier configuration in package json
  • Loading branch information
evereq authored Nov 16, 2023
2 parents 76d75a7 + cfe1368 commit d21a907
Show file tree
Hide file tree
Showing 9 changed files with 78 additions and 4 deletions.
26 changes: 26 additions & 0 deletions apps/extensions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,32 @@
"postcss": "^8.4.19",
"prettier": "^2.8.0",
"typescript": "4.8.4"
},"prettier": {
"printWidth": 120,
"singleQuote": true,
"semi": true,
"useTabs": true,
"tabWidth": 4,
"arrowParens": "always",

Check warning on line 38 in apps/extensions/package.json

View workflow job for this annotation

GitHub Actions / Cspell

Unknown word (Parens)
"trailingComma": "none",
"quoteProps": "as-needed",
"trimTrailingWhitespace": true,
"overrides": [
{
"files": "*.scss",
"options": {
"useTabs": false,
"tabWidth": 2
}
},
{
"files": "*.yml",
"options": {
"useTabs": false,
"tabWidth": 2
}
}
]
},
"manifest": {
"host_permissions": [
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 25 additions & 4 deletions apps/mobile/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -169,10 +169,31 @@
"@types/react-native": "0.69.6"
},
"prettier": {
"printWidth": 100,
"semi": false,
"singleQuote": false,
"trailingComma": "all"
"printWidth": 120,
"singleQuote": true,
"semi": true,
"useTabs": true,
"tabWidth": 4,
"arrowParens": "always",
"trailingComma": "none",
"quoteProps": "as-needed",
"trimTrailingWhitespace": true,
"overrides": [
{
"files": "*.scss",
"options": {
"useTabs": false,
"tabWidth": 2
}
},
{
"files": "*.yml",
"options": {
"useTabs": false,
"tabWidth": 2
}
}
]
},
"detox": {
"test-runner": "jest",
Expand Down
27 changes: 27 additions & 0 deletions apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,33 @@
"eslint-config-next": "^13.1.6",
"typescript": "^4.9.4"
},
"prettier": {
"printWidth": 120,
"singleQuote": true,
"semi": true,
"useTabs": true,
"tabWidth": 4,
"arrowParens": "always",
"trailingComma": "none",
"quoteProps": "as-needed",
"trimTrailingWhitespace": true,
"overrides": [
{
"files": "*.scss",
"options": {
"useTabs": false,
"tabWidth": 2
}
},
{
"files": "*.yml",
"options": {
"useTabs": false,
"tabWidth": 2
}
}
]
},
"engines": {
"node": ">=16.0.0",
"yarn": ">=1.13.0"
Expand Down

0 comments on commit d21a907

Please sign in to comment.