We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cookstyle 7.32.8
ruby 3.1.4p223 (2023-03-30 revision 957bb7cb81) [x86_64-linux] Cookstyle 7.32.8 RuboCop 1.25.1
Running cookstyle > 7.32.2 with TargetChefVersion specified in config
TargetChefVersion
gem install cookstyle -v '> 7.32.2' touch test.rb echo -e 'AllCops:\n TargetChefVersion: 12.22' > .rubocop.yml cookstyle test.rb
Inspecting 1 file . 1 file inspected, no offenses detected
Warning: AllCops does not support TargetChefVersion parameter. Supported parameters are: - RubyInterpreters - Include - Exclude - DefaultFormatter - DisplayCopNames - DisplayStyleGuide - StyleGuideBaseURL - DocumentationBaseURL - ExtraDetails - StyleGuideCopsOnly - EnabledByDefault - DisabledByDefault - NewCops - UseCache - MaxFilesInCache - CacheRootDirectory - AllowSymlinksInCacheRootDirectory - TargetRubyVersion - SuggestExtensions - Enabled - inherit_mode Inspecting 1 file . 1 file inspected, no offenses detected
The text was updated successfully, but these errors were encountered:
Got a repro on my end (excellent report, btw <3), suspect it's due to #965, looking at it now
Sorry, something went wrong.
Got a fix in 5ac8375, will clean it up to merge in the morning
Fix chef#970: Add extra stub to pass ConfigValidator
bc1afbb
We need to pass TargetChefVersion into the default config, otherwise the [ConfigValidator#each_invalid_parameter method complains](https://github.com/rubocop/rubocop/blob/2fee8552c6c8237950d8df7ec857c49f308a6d34/lib/rubocop/config_validator.rb#L198) Signed-off-by: David Crosby <dcrosby@fb.com>
No branches or pull requests
Version:
Cookstyle 7.32.8
Environment:
Scenario:
Running cookstyle > 7.32.2 with
TargetChefVersion
specified in configSteps to Reproduce:
Expected Result:
Actual Result:
The text was updated successfully, but these errors were encountered: