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 c2e167a commit 37c17d0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -323,13 +323,13 @@ 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,
)
const ready = (this.entity[0]
&& !this.Graph.some(
element,

Check failure on line 328 in src/main.js

View workflow job for this annotation

GitHub Actions / lint

Expected indentation of 21 spaces but found 24

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)

Expected indentation of 21 spaces but found 24

Check failure on line 328 in src/main.js

View workflow job for this annotation

GitHub Actions / build (10.x)

'element' is not defined

Check failure on line 328 in src/main.js

View workflow job for this annotation

GitHub Actions / build (12.x)

Expected indentation of 21 spaces but found 24

Check failure on line 328 in src/main.js

View workflow job for this annotation

GitHub Actions / build (12.x)

'element' is not defined
(index) =>

Check failure on line 329 in src/main.js

View workflow job for this annotation

GitHub Actions / lint

Expected indentation of 21 spaces but found 24

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)

Expected indentation of 21 spaces but found 24

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

Check failure on line 329 in src/main.js

View workflow job for this annotation

GitHub Actions / build (12.x)

Expected indentation of 21 spaces but found 24

Check failure on line 329 in src/main.js

View workflow job for this annotation

GitHub Actions / build (12.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 indentation of 23 spaces but found 26

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)

Expected indentation of 23 spaces but found 26

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)

'element' is not defined

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

Check failure on line 330 in src/main.js

View workflow job for this annotation

GitHub Actions / build (12.x)

Expected indentation of 23 spaces but found 26

Check failure on line 330 in src/main.js

View workflow job for this annotation

GitHub Actions / build (12.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 (12.x)

'element' is not defined

Check failure on line 330 in src/main.js

View workflow job for this annotation

GitHub Actions / build (12.x)

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

Check failure on line 332 in src/main.js

View workflow job for this annotation

GitHub Actions / lint

Expected indentation of 19 spaces but found 22

Check failure on line 332 in src/main.js

View workflow job for this annotation

GitHub Actions / build (10.x)

Expected indentation of 19 spaces but found 22

Check failure on line 332 in src/main.js

View workflow job for this annotation

GitHub Actions / build (12.x)

Expected indentation of 19 spaces but found 22
)

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

Check failure on line 333 in src/main.js

View workflow job for this annotation

GitHub Actions / build (12.x)

Expected indentation of 4 spaces but found 18
|| this.config.show.loading_indicator !== true;
return this.config.show.graph ? html`
Expand Down

0 comments on commit 37c17d0

Please sign in to comment.