# Copyright 2025 Shota FUJI
#
# Licensed under the Zero-Clause BSD License or the Apache License, Version 2.0, at your option.
# You may not use, copy, modify, or distribute this file except according to those terms. You can
# find a copy of the Zero-Clause BSD License at LICENSES/0BSD.txt, and a copy of the Apache License,
# Version 2.0 at LICENSES/Apache-2.0.txt. You may also obtain a copy of the Zero-Clause BSD License
# at <https://opensource.org/license/0bsd> and a copy of the Apache License, Version 2.0 at
# <https://www.apache.org/licenses/LICENSE-2.0>
#
# SPDX-License-Identifier: 0BSD OR Apache-2.0
#
# ===
#
# This is a configuration file for EditorConfig <https://editorconfig.org/>.
# Every text file inside this project MUST comply with the rules described in this file.

# Stop search for `.editorconfig` files and Prevent upward config files from setting properties
# such as `indent_size` and `tab_width`.
root = true

[*]
indent_style = tab
end_of_line = lf
charset = utf-8
spelling_language = en-US
trim_trailing_whitespace = true
insert_final_newline = true

# Formatting style used in `zig fmt`. It does not allow any customization.
[*.{zig,zon}]
indent_style = space
indent_size = 4
