summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc A. Paradise <marc.paradise@gmail.com>2021-04-30 12:40:40 -0400
committerMarc A. Paradise <marc.paradise@gmail.com>2021-04-30 13:21:38 -0400
commit532c3c363e87223a184ca51a61e50724d28d8904 (patch)
tree2db817ae5ed762b60f5cada5dd57b346d92b74d5
parent5e9d7cfa7c093f5c9208eab3f81bedb042b4e90c (diff)
downloadchef-532c3c363e87223a184ca51a61e50724d28d8904.tar.gz
Update linting and gitignore for knife rspec changes
Now that we have moved specs and supporting data into knife/, our tools need to know what not to look at there too. Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
-rw-r--r--.gitignore9
-rw-r--r--.rubocop.yml1
-rw-r--r--cspell.json2
3 files changed, 11 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 0df369f7c1..0bb2f93da8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -54,6 +54,7 @@ spec/data/nodes
spec/data/chef_guid
/config/
+
vendor/
kitchen-tests/vendor
@@ -78,6 +79,14 @@ chef-utils/.bundle
chef-utils/Gemfile.lock
chef-utils/pkg
+# knife
+knife/.bundle
+knife/Gemfile.lock
+knife/pkg
+knife/spec/data/test-dir
+knife/spec/data/nodes
+knife/spec/data/chef_guid
+
# auto generated docs from the docs.rb rake task
docs_site
diff --git a/.rubocop.yml b/.rubocop.yml
index 9bc06a66be..b6e3e47b30 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -2,6 +2,7 @@ AllCops:
TargetRubyVersion: 2.6
Exclude:
- "spec/data/**/*"
+ - "knife/spec/data/**/*"
- "vendor/**/*"
- "pkg/**/*"
- "chef-config/pkg/**/*"
diff --git a/cspell.json b/cspell.json
index f45e023938..61c8ff5ec1 100644
--- a/cspell.json
+++ b/cspell.json
@@ -1914,12 +1914,12 @@
"**/*.yml",
"**/*.toml",
"**/Berksfile",
- "spec/data/**/*",
"lib/chef/provider/package/yum/simplejson/**/*",
"lib/chef/provider/package/yum/simplejson/*",
"omnibus/resources/chef/**/*",
"kitchen-tests/cookbooks/end_to_end/files/**/*",
"spec/**",
+ "knife/spec/**",
"docs_site",
"distro/ruby_bin_folder/**/*"
],