Skip to content

Commit 4ed1f00

Browse files
kosztimosabua
authored andcommitted
Reformat source code for consistent style
* Enable eslint and prettier config for validation during build * No functional code changes, source code format only
1 parent 894ed44 commit 4ed1f00

40 files changed

+3002
-2814
lines changed

.github/workflows/ci.yml

+2-5
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,8 @@ jobs:
2222
with:
2323
node-version: '22'
2424

25-
# Temporarily disabling this step due to formatting issues.
26-
# Linter and prettier) currently throws numerous warnings.
27-
# Code style checks will be re-enabled in a future PR that includes a codebase reformat.
28-
# - name: Check code style
29-
# run: npm run check:clean
25+
- name: Check code style
26+
run: npm run check:clean
3027

3128
- name: Build package
3229
run: npm run package:clean

precise/src/App.tsx

+7-12
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
1-
import { useState, useEffect } from 'react';
2-
import QueryApp from './QueryApp';
3-
4-
const defaultQuery = "-- enter your query here\n\nselect * from tpch.sf1.lineitem limit 2";
1+
import QueryApp from './QueryApp'
52

63
// for now this is a defacto Tab, but we will treat this tab more as a page in the future
74
function App() {
8-
9-
10-
return (
11-
<div className="page">
12-
<QueryApp />
13-
</div>
14-
);
5+
return (
6+
<div className="page">
7+
<QueryApp />
8+
</div>
9+
)
1510
}
1611

17-
export default App;
12+
export default App

0 commit comments

Comments
 (0)