Add editorconfig to enforcing formatting requirements

This commit is contained in:
Amir Zarrinkafsh 2024-10-24 17:27:39 +11:00
parent 6099f46ab9
commit 4faef49667
No known key found for this signature in database
GPG Key ID: ECDB8EF9E77E4EBF
3 changed files with 20 additions and 11 deletions

8
.editorconfig Normal file
View File

@ -0,0 +1,8 @@
root = true
[*]
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
end_of_line = lf
insert_final_newline = true

View File

@ -15,6 +15,7 @@ configuration which can be utilised with:
1. Copy `config.example.json` to `config.json`.
2. Modify `config.json` to include your Cacheserver's IP(s) and the CDNs you plan to cache.
The following example assumes a single shared Cacheserver IP:
```json
{