Skip to content

Commit e359cbe

Browse files
authored
Use prettier instead xo (#455)
* migrate from xo to prettier + eslint * migrate VSCode settings from XO to Prettier for code formatting
1 parent 4d93d09 commit e359cbe

28 files changed

Lines changed: 263 additions & 101 deletions

.vscode/settings.json

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,20 @@
11
{
22
"editor.formatOnSave": true,
3-
"xo.enable": true,
4-
"xo.format.enable": true,
53

64
"typescript.tsdk": "node_modules/typescript/lib",
75
"typescript.preferences.importModuleSpecifier": "non-relative",
86

97
// formatting
108
"[typescript]": {
11-
"editor.defaultFormatter": "samverschueren.linter-xo"
9+
"editor.defaultFormatter": "esbenp.prettier-vscode"
1210
},
1311
"[typescriptreact]": {
14-
"editor.defaultFormatter": "samverschueren.linter-xo"
12+
"editor.defaultFormatter": "esbenp.prettier-vscode"
1513
},
1614
"[javascript]": {
17-
"editor.defaultFormatter": "samverschueren.linter-xo"
15+
"editor.defaultFormatter": "esbenp.prettier-vscode"
1816
},
1917
"[javascriptreact]": {
20-
"editor.defaultFormatter": "samverschueren.linter-xo"
18+
"editor.defaultFormatter": "esbenp.prettier-vscode"
2119
}
2220
}
Binary file not shown.
19.5 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)