From f4bf6b1995ee3a3c84b339ded07464e5ca74c9a4 Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Tue, 17 Nov 2020 16:01:23 +0300 Subject: [PATCH 1/2] Add EditorConfig file More info here: https://editorconfig.org/ Also fix some line-end spaces, file-end newlines. --- .circleci/config.yml | 1 - .editorconfig | 9 +++++++++ README.md | 14 +++++++------- 3 files changed, 16 insertions(+), 8 deletions(-) create mode 100644 .editorconfig diff --git a/.circleci/config.yml b/.circleci/config.yml index 4c80757..50869e4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -23,4 +23,3 @@ workflow: build-test: jobs: - build - diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..c6c8b36 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,9 @@ +root = true + +[*] +indent_style = space +indent_size = 2 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true diff --git a/README.md b/README.md index cadef94..13e36ec 100644 --- a/README.md +++ b/README.md @@ -72,12 +72,12 @@ end ## Useful Links -[FAQ](https://docs.codecov.io/docs/frequently-asked-questions) -[Recipe List](https://docs.codecov.io/docs/common-recipe-list) -[Error Reference](https://docs.codecov.io/docs/error-reference) -[Changelog](./CHANGELOG.md) -[Support](https://codecov.io/support) -[Community Boards](https://community.codecov.io) +[FAQ](https://docs.codecov.io/docs/frequently-asked-questions) +[Recipe List](https://docs.codecov.io/docs/common-recipe-list) +[Error Reference](https://docs.codecov.io/docs/error-reference) +[Changelog](./CHANGELOG.md) +[Support](https://codecov.io/support) +[Community Boards](https://community.codecov.io) ## Caveats @@ -99,4 +99,4 @@ CODECOV_TOKEN="repository token or global token" ## License -[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fcodecov%2Fcodecov-ruby.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fcodecov%2Fcodecov-ruby?ref=badge_large) \ No newline at end of file +[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fcodecov%2Fcodecov-ruby.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fcodecov%2Fcodecov-ruby?ref=badge_large) From f41aaf5b1884e9f13c99b400d9ae7cb841163c64 Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Sat, 12 Dec 2020 16:43:12 +0300 Subject: [PATCH 2/2] Alphabetize EditorConfig settings Co-authored-by: Tom Hu --- .editorconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.editorconfig b/.editorconfig index c6c8b36..0f17867 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,9 +1,9 @@ root = true [*] -indent_style = space -indent_size = 2 -end_of_line = lf charset = utf-8 -trim_trailing_whitespace = true +end_of_line = lf +indent_size = 2 +indent_style = space insert_final_newline = true +trim_trailing_whitespace = true