diff --git a/.editorconfig b/.editorconfig index 5034b95..40ae7de 100644 --- a/.editorconfig +++ b/.editorconfig @@ -10,3 +10,7 @@ indent_size = tab [*.{markdown,md}] trim_trailing_whitespace = false + +[*.{cff,yaml,yml}] +indent_style = space +indent_size = 2 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..7e9d241 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,23 @@ +# See https://pre-commit.com for more information +# See https://pre-commit.com/hooks.html for more hooks +repos: + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.4.0 + hooks: + - id: check-added-large-files + - id: check-case-conflict + - id: check-executables-have-shebangs + - id: check-shebang-scripts-are-executable + - id: destroyed-symlinks + - id: detect-private-key + - id: end-of-file-fixer + - id: fix-byte-order-marker + - repo: https://github.com/pre-commit/mirrors-prettier + rev: "v3.0.0-alpha.6" + hooks: + - id: prettier + - repo: https://github.com/editorconfig-checker/editorconfig-checker.python + rev: "2.7.1" + hooks: + - id: editorconfig-checker + alias: ec diff --git a/README.md b/README.md index 82de7f7..788942a 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ -*[English](#pirates-in-the-fediverse)* +_[English](#pirates-in-the-fediverse)_ # Piraatit fediversumissa -*Muista kysyä lupa ennen yksityshenkilön listaamista!* +_Muista kysyä lupa ennen yksityshenkilön listaamista!_ -* `eu.csv` - Euroopan Unionin organisaatioiden ja roolien tunnuksia -* `organizations.csv` - Piraattijärjestöjen tunnuksia -* `pirates.csv` - Yksittäisiä piraatteja +- `eu.csv` - Euroopan Unionin organisaatioiden ja roolien tunnuksia +- `organizations.csv` - Piraattijärjestöjen tunnuksia +- `pirates.csv` - Yksittäisiä piraatteja ## Käyttö @@ -16,11 +16,11 @@ # Pirates in the Fediverse -*Remember to ask for consent before listing individuals.* +_Remember to ask for consent before listing individuals._ -* `eu.csv` - European Union organanizations and roles accounts -* `organizations.csv` - Accounts belonging to Pirate organizations -* `pirates.csv` - Individual pirates +- `eu.csv` - European Union organanizations and roles accounts +- `organizations.csv` - Accounts belonging to Pirate organizations +- `pirates.csv` - Individual pirates ## Usage