feat(linux/power): ✨ power state and screen lock sensor requ… #1028
Annotations
5 errors and 1 warning
golangci:
internal/hass/api/api.go#L108
unused-parameter: parameter 'r' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci:
internal/hass/registration.go#L35
unused-receiver: method receiver 'r' is not referenced in method's body, consider removing or renaming it as _ (revive)
|
golangci:
internal/hass/api/api.go#L107
assignments should only be cuddled with other assignments (wsl)
|
golangci:
internal/hass/api/api.go#L113
return statements should not be cuddled if block has more than two lines (wsl)
|
golangci
issues found
|
test
Unexpected input(s) 'file', valid inputs are ['binary', 'codecov_yml_path', 'commit_parent', 'directory', 'disable_file_fixes', 'disable_search', 'disable_safe_directory', 'dry_run', 'env_vars', 'exclude', 'fail_ci_if_error', 'files', 'flags', 'git_service', 'gcov_args', 'gcov_executable', 'gcov_ignore', 'gcov_include', 'handle_no_reports_found', 'job_code', 'name', 'network_filter', 'network_prefix', 'os', 'override_branch', 'override_build', 'override_build_url', 'override_commit', 'override_pr', 'plugins', 'report_code', 'report_type', 'root_dir', 'skip_validation', 'slug', 'swift_project', 'token', 'url', 'use_legacy_upload_endpoint', 'use_oidc', 'verbose', 'version', 'working-directory']
|