From aeb95437ea885159a3bcf8080bacc70eb64fdc45 Mon Sep 17 00:00:00 2001 From: "Dylan R. E. Moonfire" Date: Thu, 7 Jul 2022 23:29:51 -0500 Subject: [PATCH] refactor: cleaning up code --- BUILDING.md | 4 +-- CODE-OF-CONDUCT.md | 40 ++++++++++++------------- README.md | 3 +- commitlint.config.js | 2 +- tests/Gallium.Tests/EntityTests.cs | 1 + tests/Gallium.Tests/GalliumTestsBase.cs | 1 + 6 files changed, 25 insertions(+), 26 deletions(-) diff --git a/BUILDING.md b/BUILDING.md index 5745a36..eaaaeb1 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -4,8 +4,8 @@ To simplify environmental setup, this project uses the following: -- [Nix](https://nixos.org/) -- [direnv](https://direnv.net/) +- [Nix](https://nixos.org/) +- [direnv](https://direnv.net/) Nix does not require the full NixOS (the operating system component), just a single- or multi-user setup. `direnv` is used to automatically configure the environment when entering the directory including setting up the needed PATH and other environment variables for the build. diff --git a/CODE-OF-CONDUCT.md b/CODE-OF-CONDUCT.md index d33878e..5aa66ee 100644 --- a/CODE-OF-CONDUCT.md +++ b/CODE-OF-CONDUCT.md @@ -1,4 +1,3 @@ - # Contributor Covenant Code of Conduct ## Our Pledge @@ -18,24 +17,24 @@ diverse, inclusive, and healthy community. Examples of behavior that contributes to a positive environment for our community include: -* Demonstrating empathy and kindness toward other people -* Being respectful of differing opinions, viewpoints, and experiences -* Giving and gracefully accepting constructive feedback -* Accepting responsibility and apologizing to those affected by our mistakes, - and learning from the experience -* Focusing on what is best not just for us as individuals, but for the overall - community +- Demonstrating empathy and kindness toward other people +- Being respectful of differing opinions, viewpoints, and experiences +- Giving and gracefully accepting constructive feedback +- Accepting responsibility and apologizing to those affected by our mistakes, + and learning from the experience +- Focusing on what is best not just for us as individuals, but for the overall + community Examples of unacceptable behavior include: -* The use of sexualized language or imagery, and sexual attention or advances of - any kind -* Trolling, insulting or derogatory comments, and personal or political attacks -* Public or private harassment -* Publishing others' private information, such as a physical or email address, - without their explicit permission -* Other conduct which could reasonably be considered inappropriate in a - professional setting +- The use of sexualized language or imagery, and sexual attention or advances of + any kind +- Trolling, insulting or derogatory comments, and personal or political attacks +- Public or private harassment +- Publishing others' private information, such as a physical or email address, + without their explicit permission +- Other conduct which could reasonably be considered inappropriate in a + professional setting ## Enforcement Responsibilities @@ -120,15 +119,14 @@ version 2.1, available at [https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1]. Community Impact Guidelines were inspired by -[Mozilla's code of conduct enforcement ladder][Mozilla CoC]. +[Mozilla's code of conduct enforcement ladder][mozilla coc]. For answers to common questions about this code of conduct, see the FAQ at -[https://www.contributor-covenant.org/faq][FAQ]. Translations are available at +[https://www.contributor-covenant.org/faq][faq]. Translations are available at [https://www.contributor-covenant.org/translations][translations]. [homepage]: https://www.contributor-covenant.org [v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html -[Mozilla CoC]: https://github.com/mozilla/diversity -[FAQ]: https://www.contributor-covenant.org/faq +[mozilla coc]: https://github.com/mozilla/diversity +[faq]: https://www.contributor-covenant.org/faq [translations]: https://www.contributor-covenant.org/translations - diff --git a/README.md b/README.md index 44cf8a9..60ca291 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,3 @@ -Gallium CIL -=========== +# Gallium CIL A small Entity-Component-System (ECS) that is built around LINQ calls and IEnumerable objects. diff --git a/commitlint.config.js b/commitlint.config.js index 29519fc..1080a13 100644 --- a/commitlint.config.js +++ b/commitlint.config.js @@ -1,6 +1,6 @@ module.exports = { extends: ["@commitlint/config-conventional"], rules: { - "body-max-line-length": [0], + "body-max-line-length": [0], }, }; diff --git a/tests/Gallium.Tests/EntityTests.cs b/tests/Gallium.Tests/EntityTests.cs index fd78272..a497750 100644 --- a/tests/Gallium.Tests/EntityTests.cs +++ b/tests/Gallium.Tests/EntityTests.cs @@ -1,4 +1,5 @@ using System; + using Xunit; using Xunit.Abstractions; diff --git a/tests/Gallium.Tests/GalliumTestsBase.cs b/tests/Gallium.Tests/GalliumTestsBase.cs index b8b3b2a..4d80a6d 100644 --- a/tests/Gallium.Tests/GalliumTestsBase.cs +++ b/tests/Gallium.Tests/GalliumTestsBase.cs @@ -1,5 +1,6 @@ using Serilog; using Serilog.Core; + using Xunit.Abstractions; namespace Gallium.Tests