Skip to content

Commit e667514

Browse files
committed
Reformat debugger
Tried to match existing style with quotes and tab width
1 parent db47b1c commit e667514

File tree

3 files changed

+240
-93
lines changed

3 files changed

+240
-93
lines changed

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,6 @@ insert_final_newline = true
1111

1212
[*.rs]
1313
indent_size = 4
14+
15+
[rust/cubesql/cubesql/egraph-debug-template/**/*.{js,jsx,ts,tsx}]
16+
indent_size = 4

rust/cubesql/cubesql/egraph-debug-template/package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,18 @@
1111
"scripts": {
1212
"start": "GENERATE_SOURCEMAP=false && react-scripts start",
1313
"build": "react-scripts build",
14+
"reformat": "prettier --write \"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}\"",
1415
"test": "react-scripts test --env=jsdom",
1516
"eject": "react-scripts eject"
1617
},
1718
"devDependencies": {
19+
"prettier": "3.3.3",
1820
"react-scripts": "5.0.1"
1921
},
22+
"prettier": {
23+
"singleQuote": true,
24+
"tabWidth": 4
25+
},
2026
"browserslist": {
2127
"production": [
2228
">0.2%",

0 commit comments

Comments
 (0)