Closed ludeeus closed 5 months ago
src/components/dialogs/hacs-download-dialog.ts
[error] 38-38: Unexpected any. Specify a different type. (lint/suspicious/noExplicitAny) any disables many type checking rules. Its use should be avoided. --- [error] 90-90: Forbidden non-null assertion. (lint/style/noNonNullAssertion) Unsafe fix: Replace with optional chain operator ?. This operator includes runtime checks, so it is safer than the compile-only non-null assertion operator --- [error] 142-142: Forbidden non-null assertion. (lint/style/noNonNullAssertion) Unsafe fix: Replace with optional chain operator ?. This operator includes runtime checks, so it is safer than the compile-only non-null assertion operator --- [error] 143-143: Forbidden non-null assertion. (lint/style/noNonNullAssertion) Unsafe fix: Replace with optional chain operator ?. This operator includes runtime checks, so it is safer than the compile-only non-null assertion operator --- [error] 148-148: Forbidden non-null assertion. (lint/style/noNonNullAssertion) Unsafe fix: Replace with optional chain operator ?. This operator includes runtime checks, so it is safer than the compile-only non-null assertion operator --- [error] 158-158: Forbidden non-null assertion. (lint/style/noNonNullAssertion) Unsafe fix: Replace with optional chain operator ?. This operator includes runtime checks, so it is safer than the compile-only non-null assertion operator --- [error] 178-178: Do not use template literals if interpolation and special-character handling are not needed. (lint/style/noUnusedTemplateLiteral) Unsafe fix: Replace with string literal --- [error] 215-215: Forbidden non-null assertion. (lint/style/noNonNullAssertion) Unsafe fix: Replace with optional chain operator ?. This operator includes runtime checks, so it is safer than the compile-only non-null assertion operator --- [error] 218-218: Forbidden non-null assertion. (lint/style/noNonNullAssertion) Unsafe fix: Replace with optional chain operator ?. This operator includes runtime checks, so it is safer than the compile-only non-null assertion operator --- [error] 226-226: Forbidden non-null assertion. (lint/style/noNonNullAssertion) Unsafe fix: Replace with optional chain operator ?. This operator includes runtime checks, so it is safer than the compile-only non-null assertion operator --- [error] 271-271: Unexpected any. Specify a different type. (lint/suspicious/noExplicitAny) any disables many type checking rules. Its use should be avoided. --- [error] 279-279: Forbidden non-null assertion. (lint/style/noNonNullAssertion) Unsafe fix: Replace with optional chain operator ?. This operator includes runtime checks, so it is safer than the compile-only non-null assertion operator --- [error] 280-280: Forbidden non-null assertion. (lint/style/noNonNullAssertion) Unsafe fix: Replace with optional chain operator ?. This operator includes runtime checks, so it is safer than the compile-only non-null assertion operator --- [error] 281-281: Forbidden non-null assertion. (lint/style/noNonNullAssertion) Unsafe fix: Replace with optional chain operator ?. This operator includes runtime checks, so it is safer than the compile-only non-null assertion operator --- [error] 288-288: Forbidden non-null assertion. (lint/style/noNonNullAssertion) Unsafe fix: Replace with optional chain operator ?. This operator includes runtime checks, so it is safer than the compile-only non-null assertion operator --- [error] 288-288: Forbidden non-null assertion. (lint/style/noNonNullAssertion) Unsafe fix: Replace with optional chain operator ?. This operator includes runtime checks, so it is safer than the compile-only non-null assertion operator --- [error] 289-289: Forbidden non-null assertion. (lint/style/noNonNullAssertion) Unsafe fix: Replace with optional chain operator ?. This operator includes runtime checks, so it is safer than the compile-only non-null assertion operator --- [error] 289-289: Forbidden non-null assertion. (lint/style/noNonNullAssertion) Unsafe fix: Replace with optional chain operator ?. This operator includes runtime checks, so it is safer than the compile-only non-null assertion operator --- [error] 289-290: Forbidden non-null assertion. (lint/style/noNonNullAssertion) Unsafe fix: Replace with optional chain operator ?. This operator includes runtime checks, so it is safer than the compile-only non-null assertion operator --- [error] 289-290: Forbidden non-null assertion. (lint/style/noNonNullAssertion) Unsafe fix: Replace with optional chain operator ?. This operator includes runtime checks, so it is safer than the compile-only non-null assertion operator
src/tools/frontend-resource.ts (1)
`7-7`: Simplified function signature aligns with PR objectives to streamline resource handling.src/components/dialogs/hacs-download-dialog.ts (1)
`180-180`: Centralized resource URL generation using `generateFrontendResourceURL` enhances maintainability.
Moved to backed in https://github.com/hacs/integration/pull/3758