Skip to content

Commit eba2f1b

Browse files
committed
chore(repo): Upgrade prettier and .prettierrc
1 parent 3a6a603 commit eba2f1b

5 files changed

Lines changed: 37 additions & 23 deletions

File tree

.eslintignore

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,14 @@
1-
.pnp.*
2-
/coverage/**
1+
coverage
2+
node_modules
3+
dist
4+
build
5+
coverage
6+
playground
7+
.github
8+
.idea
9+
.vscode
10+
.turbo
11+
.next
12+
.cache
13+
.yalc
14+
package-lock.json

.prettierignore

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
1-
# Add files here to ignore them from prettier formatting
2-
3-
/dist
4-
/coverage
1+
coverage
2+
node_modules
3+
dist
4+
build
5+
coverage
56
.github
67
.idea
78
.vscode
9+
.turbo
10+
.next
11+
.cache
12+
.yalc
13+
package-lock.json

.prettierrc

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,9 @@
11
{
2+
"printWidth": 120,
3+
"singleAttributePerLine": true,
24
"arrowParens": "avoid",
35
"bracketSpacing": true,
46
"jsxSingleQuote": true,
5-
"overrides": [
6-
{
7-
"files": "**/services/*.ts",
8-
"options": {
9-
"printWidth": 110
10-
}
11-
}
12-
],
13-
"printWidth": 80,
147
"semi": true,
158
"singleQuote": true,
169
"tabWidth": 2,

package-lock.json

Lines changed: 10 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"eslint-plugin-simple-import-sort": "^7.0.0",
2828
"husky": "^7.0.4",
2929
"lerna": "^4.0.0",
30-
"prettier": "^2.5.1",
30+
"prettier": "^2.6.0",
3131
"pretty-quick": "^3.1.3",
3232
"rimraf": "^3.0.2",
3333
"turbo": "^1.1.5",

0 commit comments

Comments
 (0)