Commit Graph
7 Commits
Author SHA1 Message Date
deepsource-autofix[bot]andMeier Lukas a4f6a7c16a refactor: replace short hand type conversions with function calls (#65)
* refactor: replace short hand type conversions with function calls

Prefer using explicit casts by calling `Number`, `Boolean`, or `String` over using operators like `+`, `!!` or `"" +`. This is considered best practice as it improves readability.

* fix: formatting

---------

Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
Co-authored-by: Meier Lukas <meierschlumpf@gmail.com>
2024-02-08 20:06:57 +01:00
deepsource-autofix[bot] 91812531b4 refactor: remove true from boolean attribute (#66)
When using a boolean attribute in JSX, you can set the attribute value to true or omit the value. This helps to keep consistency in code.

Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
2024-02-07 21:02:22 +01:00
deepsource-autofix[bot] 217e5b861f style: Format code with prettier 2023-04-03 06:57:28 +00:00
deepsource-autofix[bot] e8d82c866e style: Format code with prettier 2023-03-29 11:02:54 +00:00
deepsource-autofix[bot] 0506cd542c style: Format code with prettier 2023-03-29 10:20:01 +00:00
deepsource-autofix[bot] 497e22830e style: Format code with prettier
Format code with prettier

This commit fixes the style issues introduced in e966fda according to the output
from prettier.

Details: https://deepsource.io/gh/ajnart/homarr/transform/d081bf6a-f351-4ebd-a249-c708aaec7e67/
2023-03-29 12:04:30 +02:00
deepsource-autofix[bot] 64e8e85aac refactor: Replace short hand type conversions with function calls
Prefer using explicit casts by calling `Number`, `Boolean`, or `String` over using operators like `+`, `!!` or `"" +`. This is considered best practice as it improves readability.
2023-03-27 06:10:26 +00:00