From fa225fc1382d544c8d93bfd2fb5dde618ca5c25e Mon Sep 17 00:00:00 2001 From: Doug Knight Date: Thu, 24 Feb 2022 17:39:00 -0800 Subject: [PATCH] don't autocorrect Delivery's TOML or JSON files Signed-off-by: Doug Knight --- config/cookstyle.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/config/cookstyle.yml b/config/cookstyle.yml index 0de94765..5dc3c11a 100644 --- a/config/cookstyle.yml +++ b/config/cookstyle.yml @@ -14,6 +14,21 @@ AllCops: - '**/vendor/**/*' - Guardfile +Layout: + Exclude: + - '**/.delivery/project.toml' + - '**/.delivery/config.json' + +Lint: + Exclude: + - '**/.delivery/project.toml' + - '**/.delivery/config.json' + +Style: + Exclude: + - '**/.delivery/project.toml' + - '**/.delivery/config.json' + ############################### # Chef/Style: Making cookbooks look better ############################### @@ -21,6 +36,9 @@ AllCops: Chef/Style: Enabled: true StyleGuideBaseURL: https://docs.chef.io/workstation/cookstyle/ + Exclude: + - '**/.delivery/project.toml' + - '**/.delivery/config.json' Chef/Style/AttributeKeys: Description: Check which style of keys are used to access node attributes.