Skip to content

Conversation

@ldez
Copy link
Member

@ldez ldez commented Aug 15, 2022

Replacement of the directive golangcitest:config by golangcitest:config_path.

golangcitest:config_path already existed but we had a mix between the 2 directives.

The objective is to simplify maintenance and the contribution by having an identical approach for all tests.

This also simplifies the maintenance of test files which are corrected automatically by the IDEs as soon as the file is edited when you have to update the configuration.

@ldez ldez added enhancement New feature or improvement area: tests Continuous integration, tests and other checks labels Aug 15, 2022
@ldez ldez force-pushed the feat/test-config-path branch from 9177226 to c7d9e6d Compare August 15, 2022 04:27
@ldez ldez force-pushed the feat/test-config-path branch from c7d9e6d to c2ced0f Compare August 15, 2022 04:34
@ldez ldez force-pushed the feat/test-config-path branch from 7c94d73 to cc64538 Compare August 15, 2022 04:51
Copy link
Member

@bombsimon bombsimon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, this will make it easier to understand how to change settings for your tests and consistent with regular usage! 👍

@ldez ldez merged commit f7fba37 into golangci:master Aug 15, 2022
@ldez ldez deleted the feat/test-config-path branch August 15, 2022 16:23
SeigeC pushed a commit to SeigeC/golangci-lint that referenced this pull request Apr 4, 2023
@ldez ldez added this to the v1.49 milestone Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: tests Continuous integration, tests and other checks enhancement New feature or improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants