Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
ildar170975 authored Jan 11, 2025
1 parent b15deea commit c2e167a
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -323,15 +323,15 @@ class MiniGraphCard extends LitElement {
}

renderGraph() {
const ready =
(this.entity[0] &&
!this.Graph.some(
element,
(index) =>
element._history === undefined &&
this.config.entities[index].show_graph !== false,
)) ||
this.config.show.loading_indicator !== true;
const ready = (this.entity[0] &&

Check failure on line 326 in src/main.js

View workflow job for this annotation

GitHub Actions / lint

'&&' should be placed at the beginning of the line

Check failure on line 326 in src/main.js

View workflow job for this annotation

GitHub Actions / build (10.x)

'&&' should be placed at the beginning of the line
!this.Graph.some(
element,

Check failure on line 328 in src/main.js

View workflow job for this annotation

GitHub Actions / lint

'element' is not defined

Check failure on line 328 in src/main.js

View workflow job for this annotation

GitHub Actions / build (10.x)

'element' is not defined
(index) =>

Check failure on line 329 in src/main.js

View workflow job for this annotation

GitHub Actions / lint

Unexpected parentheses around single function argument having a body with no curly braces

Check failure on line 329 in src/main.js

View workflow job for this annotation

GitHub Actions / build (10.x)

Unexpected parentheses around single function argument having a body with no curly braces
element._history === undefined &&

Check failure on line 330 in src/main.js

View workflow job for this annotation

GitHub Actions / lint

Expected no linebreak before this expression

Check failure on line 330 in src/main.js

View workflow job for this annotation

GitHub Actions / lint

'element' is not defined

Check failure on line 330 in src/main.js

View workflow job for this annotation

GitHub Actions / lint

'&&' should be placed at the beginning of the line

Check failure on line 330 in src/main.js

View workflow job for this annotation

GitHub Actions / build (10.x)

'element' is not defined

Check failure on line 330 in src/main.js

View workflow job for this annotation

GitHub Actions / build (10.x)

Expected no linebreak before this expression

Check failure on line 330 in src/main.js

View workflow job for this annotation

GitHub Actions / build (10.x)

'&&' should be placed at the beginning of the line
this.config.entities[index].show_graph !== false,
)
)

Check failure on line 333 in src/main.js

View workflow job for this annotation

GitHub Actions / lint

Expected indentation of 4 spaces but found 18

Check failure on line 333 in src/main.js

View workflow job for this annotation

GitHub Actions / build (10.x)

Expected indentation of 4 spaces but found 18
|| this.config.show.loading_indicator !== true;
return this.config.show.graph ? html`
<div class="graph">
${ready ? html`
Expand Down

0 comments on commit c2e167a

Please sign in to comment.