databricks-cli/bundle/config/validate
Denis Bilenko b273dc5942
Enable linter 'copyloopvar' and fix the issues (#2160)
## Changes
- Remove all unnecessary copies of the loop variable, it is not
necessary since Go 1.22 https://go.dev/blog/loopvar-preview
- Enable the linter that catches this issue
https://github.com/karamaru-alpha/copyloopvar

## Tests
Existing tests.
2025-01-16 11:20:50 +00:00
..
all_resources_have_values.go Report all empty resources present in error diagnostic (#1685) 2024-08-20 00:22:00 +00:00
fast_validate.go Add validation mutator for volume `artifact_path` (#2050) 2025-01-02 17:23:15 +05:30
files_to_sync.go Enable gofumpt and goimports in golangci-lint (#1999) 2024-12-12 10:28:42 +01:00
files_to_sync_test.go Enable testifylint and fix the issues (#2065) 2025-01-02 12:03:41 +01:00
folder_permissions.go Enable perfsprint linter and apply autofix (#2071) 2025-01-07 10:49:23 +00:00
folder_permissions_test.go Added validator for folder permissions (#1824) 2024-10-24 12:36:17 +00:00
job_cluster_key_defined.go Enable gofumpt and goimports in golangci-lint (#1999) 2024-12-12 10:28:42 +01:00
job_cluster_key_defined_test.go Enable testifylint and fix the issues (#2065) 2025-01-02 12:03:41 +01:00
job_task_cluster_spec.go Enable gofumpt and goimports in golangci-lint (#1999) 2024-12-12 10:28:42 +01:00
job_task_cluster_spec_test.go Add JobTaskClusterSpec validate mutator (#1784) 2024-09-25 11:30:14 +00:00
single_node_cluster.go Add validation for single node clusters (#1909) 2024-11-22 15:48:09 +00:00
single_node_cluster_test.go Enable gofumpt and goimports in golangci-lint (#1999) 2024-12-12 10:28:42 +01:00
unique_resource_keys.go Enable perfsprint linter and apply autofix (#2071) 2025-01-07 10:49:23 +00:00
validate.go Add validation mutator for volume `artifact_path` (#2050) 2025-01-02 17:23:15 +05:30
validate_artifact_path.go Enable perfsprint linter and apply autofix (#2071) 2025-01-07 10:49:23 +00:00
validate_artifact_path_test.go Enable perfsprint linter and apply autofix (#2071) 2025-01-07 10:49:23 +00:00
validate_sync_patterns.go Enable linter 'copyloopvar' and fix the issues (#2160) 2025-01-16 11:20:50 +00:00