From 1c1f2c8b19bfb1b457cdd89a9a494a53cd4a24b0 Mon Sep 17 00:00:00 2001 From: per1234 Date: Tue, 23 Mar 2021 01:39:28 -0700 Subject: [PATCH 1/2] Add .gitignore --- .gitignore | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..898ca66 --- /dev/null +++ b/.gitignore @@ -0,0 +1,13 @@ +# Build artifacts +parser +parser.exe + +# Test artifacts +coverage_unit.txt + +# IDEs +.idea/ +.vscode/ +*.bak +*.code-workspace +*.sublime-workspace From e786b5bc16896a6992bdcc75e97b0f2b2afed325 Mon Sep 17 00:00:00 2001 From: per1234 Date: Tue, 23 Mar 2021 01:41:02 -0700 Subject: [PATCH 2/2] Add .editorconfig Popular text editors will automatically use the general formatting settings defined in this file when editing a file of the given type from this repository. --- .editorconfig | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..a5653b0 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,20 @@ +# See: https://editorconfig.org/ + +[*] +charset = utf-8 +end_of_line = lf +indent_size = 2 +indent_style = space +insert_final_newline = true +trim_trailing_whitespace = true + +[*.go] +indent_style = tab + +[*.{md,mdx,mkdn,mdown,markdown}] +indent_size = unset +indent_style = space + +[*.{yaml,yml}] +indent_size = 2 +indent_style = space