From 2ac0802a4ca9c5de57f8907795a3e9c2d8abfc65 Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Tue, 21 Apr 2020 01:52:29 +0300 Subject: [PATCH] Add EditorConfig file More info here: https://editorconfig.org Also fix issues with newlines and trailing whitespaces. --- .editorconfig | 16 ++++++++++++++++ README.md | 16 ++++++++-------- 2 files changed, 24 insertions(+), 8 deletions(-) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..ac66195 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,16 @@ +root = true + +[*] +indent_style = tab +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.cmake] +indent_style = space +indent_size = 4 + +[*.md] +indent_style = space +indent_size = 2 diff --git a/README.md b/README.md index eb1f49b..3e9bcc6 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ newer](https://pocoproject.org/), as well as their respective dependencies, must A C++11 compliant compiler such as GCC 5 or newer is required to build RankCheck. Visual Studio has not been tested. A copy of [`rankcheck.dat`](https://rankcheck.marukyu.de/files/rankcheck.dat) is required for RankCheck to run. The -file must be placed in the RankCheck working directory. For license reasons, this file or its contents are not included +file must be placed in the RankCheck working directory. For license reasons, this file or its contents are not included in the repository. When using the `Debug` build type, or when the macro `WOS_DEBUG` is defined, the RankCheck menu contains options to extract and repack `rankcheck.dat`. @@ -87,15 +87,15 @@ contains options to extract and repack `rankcheck.dat`. Copyright (c) 2018 Marukyu -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated -documentation files (the "Software"), to deal in the Software without restriction, including without limitation the -rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE -WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE +WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.