DEV: Update linting (#366)

This commit is contained in:
Jarek Radosz 2025-03-17 11:58:02 +01:00 committed by GitHub
parent 8589c56f19
commit 2c1861307d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 391 additions and 1104 deletions

View File

@ -97,4 +97,4 @@ DEPENDENCIES
syntax_tree
BUNDLED WITH
2.6.5
2.6.6

View File

@ -132,6 +132,7 @@ function componentOf(info) {
export default class ParamInputForm extends Component {
@service site;
data = {};
paramInfo = [];
infoOf = {};

View File

@ -37,6 +37,7 @@ const VIEW_COMPONENTS = {
export default class QueryResult extends Component {
@service site;
@tracked chartDisplayed = false;
get colRender() {

View File

@ -1,11 +1,11 @@
{
"private": true,
"devDependencies": {
"@discourse/lint-configs": "2.7.0",
"ember-template-lint": "6.1.0",
"eslint": "9.20.1",
"prettier": "2.8.8",
"stylelint": "16.14.1"
"@discourse/lint-configs": "2.11.1",
"ember-template-lint": "7.0.1",
"eslint": "9.22.0",
"prettier": "3.5.3",
"stylelint": "16.16.0"
},
"engines": {
"node": ">= 22",

1465
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -10,13 +10,15 @@ module(
setupRenderingTest(hooks);
test("renders a chart", async function (assert) {
await render(<template>
<DataExplorerBarChart
@labels={{array "label_1" "label_2"}}
@values={{array 115 1000}}
@datasetName="data"
/>
</template>);
await render(
<template>
<DataExplorerBarChart
@labels={{array "label_1" "label_2"}}
@values={{array 115 1000}}
@datasetName="data"
/>
</template>
);
assert.dom("canvas").exists("renders a canvas");
});