Skip to content

Commit e61c8f5

Browse files
committed
add formatter and aliases
1 parent 71a9c10 commit e61c8f5

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

rome.json

+5
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,10 @@
88
"rules": {
99
"recommended": true
1010
}
11+
},
12+
"formatter": {
13+
"enabled": true,
14+
"indentStyle": "space",
15+
"indentSize": 2
1116
}
1217
}

tsconfig.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@
1313
"moduleResolution": "node",
1414
"resolveJsonModule": true,
1515
"isolatedModules": true,
16-
"jsx": "preserve"
16+
"jsx": "preserve",
17+
"paths": {
18+
"@/*": ["./src/*"]
19+
},
1720
},
1821
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
1922
"exclude": ["node_modules"]

0 commit comments

Comments
 (0)