From 65590dcc120cbfa83588fb8f9586b92b84c361db Mon Sep 17 00:00:00 2001 From: Xorima Bot Date: Thu, 8 Oct 2020 13:04:59 +0000 Subject: [PATCH] Standardise files with files in sous-chefs/repo-management Signed-off-by: Xorima Bot --- .editorconfig | 10 +++++++++- .gitignore | 19 ++++++++++--------- .yamllint | 1 + 3 files changed, 20 insertions(+), 10 deletions(-) diff --git a/.editorconfig b/.editorconfig index 1656a6d..cc21b04 100755 --- a/.editorconfig +++ b/.editorconfig @@ -1,11 +1,19 @@ -#https://EditorConfig.org +# https://EditorConfig.org + # top-most EditorConfig file root=true +# Unix-style newlines with a newline ending every file [*] end_of_line = lf insert_final_newline = true + +# 2 space indentation indent_style = space indent_size = 2 + +# Avoid issues parsing cookbook files later charset = utf-8 + +# Avoid cookstyle warnings trim_trailing_whitespace = true diff --git a/.gitignore b/.gitignore index e085291..be3b9a8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,11 +1,7 @@ *.rbc .config -coverage InstalledFiles -lib/bundler/man pkg -rdoc -spec/reports test/tmp test/version_tmp tmp @@ -14,27 +10,32 @@ _Store *# .#* \#*# -.*.sw[a-z] *.un~ *.tmp *.bk *.bkup -# ruby/bundler files +# editor files +.idea +.*.sw[a-z] + +# ruby/bundler/rspec files .ruby-version .ruby-gemset .rvmrc Gemfile.lock .bundle *.gem +coverage +spec/reports -# YARD artifacts +# YARD / rdoc artifacts .yardoc _yardoc doc/ -.idea +rdoc -# chef stuff +# chef infra stuff Berksfile.lock .kitchen kitchen.local.yml diff --git a/.yamllint b/.yamllint index ecfdffb..2d69612 100644 --- a/.yamllint +++ b/.yamllint @@ -4,3 +4,4 @@ rules: line-length: max: 256 level: warning + document-start: disable