Skip to content
This repository was archived by the owner on Jun 4, 2024. It is now read-only.

Commit ae314e5

Browse files
committed
linting fixes
1 parent 2ba90cd commit ae314e5

File tree

6 files changed

+615
-614
lines changed

6 files changed

+615
-614
lines changed

app/components/Settings/Preview/code-editor.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import {getHighlightMode} from '../../../constants/constants';
1919
import clickHouseDialect from '../../../utils/codemirror/clickhouse';
2020

2121
// Define ClickHouse SQL dialect
22-
CM.defineMIME("text/x-chsql", clickHouseDialect);
22+
CM.defineMIME('text/x-chsql', clickHouseDialect);
2323

2424
const MIN_CONSTRAINTS_HEIGHT = 74;
2525

app/components/Settings/Tabs/Tab.react.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export default class ConnectionTab extends Component {
4444
label = connectionObject.storage;
4545
} else if (connectionObject.dialect === DIALECTS.BIGQUERY) {
4646
label = `Big Query ${connectionObject.database}`;
47-
} else if(connectionObject.dialect === DIALECTS.CLICKHOUSE) {
47+
} else if (connectionObject.dialect === DIALECTS.CLICKHOUSE) {
4848
label = `ClickHouse ${connectionObject.database}`;
4949
} else if (connectionObject.dialect === DIALECTS.DATA_WORLD) {
5050
const pathNames = getPathNames(connectionObject.url);

app/constants/constants.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,8 @@ export const CONNECTION_CONFIG = {
292292
'label': 'Max rows to read',
293293
'value': 'max_rows_to_read',
294294
'type': 'number',
295-
'description': 'Maximum number of rows that can be read from a table when running a query. By default, all rows can be read.'
295+
'description': 'Maximum number of rows that can be read from a table when running a query. \
296+
By default, all rows can be read.'
296297
},
297298
{
298299
'label': 'Read only',
@@ -307,7 +308,7 @@ export const CONNECTION_CONFIG = {
307308
'description': 'Does your database require that you connect to it via SSL? \
308309
Note that this is just the connection between this app and your database; \
309310
connections to plot.ly or your plotly instance are always encrypted.'
310-
},
311+
}
311312

312313
]
313314
};

0 commit comments

Comments
 (0)