# .editorconfig - How files in sbc-harness should be formatted # # Copyright (C) 2024 Luke T. Shumaker # SPDX-License-Identifier: AGPL-3.0-or-later root = true [*] # Custom (sbc-harness) options for scripting _mode = unknown # Standard (editorconfig.org) options charset = utf-8 end_of_line = lf indent_style = tab insert_final_newline = true trim_trailing_whitespace = true [*.{c,h}] _mode = c [Makefile] _mode = make [{CMakeLists.txt,*.cmake}] _mode = cmake [*.md] _mode = markdown [*.9p{,.wip}] _mode = 9p [{3rd-party/linux-errno.txt.gen,cmd/srv9p/static.h.gen}] _mode = sh [libusb/include/libusb/tusb_helpers.h.gen] _mode = bash [{lib9p/idl.gen,lib9p/include/lib9p/linux-errno.h.gen,stack.py}] _mode = python3 indent_style = space indent_size = 4 [{.editorconfig,.gitmodules}] _mode = ini [.gitignore] _mode = gitignore