# .editorconfig - How files in sbc-harness should be formatted # # Copyright (C) 2024-2025 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 # By well-known name (KiCad) ################################################### # Project [*.kicad_pro] _mode = kicad-project indent_style = space indent_size = 2 # Symbols / Schematics [*.kicad_sym] _mode = kicad-symbol-lib indent_style = tab [*.kicad_sch] _mode = kicad-schematic indent_style = tab [sym-lib-table] _mode = kicad-symbol-lib-table indent_style = space indent_size = 2 # Footprints / PCBs [*.kicad_mod] _mode = kicad-footprint indent_style = tab [*.kicad_pcb] _mode = kicad-pcb indent_style = tab [fp-lib-table] _mode = kicad-footprint-lib-table indent_style = space indent_size = 2 # By well-known name (other) ################################################### [GNUmakefile] _mode = make [*.md] _mode = markdown [*.py] _mode = python3 indent_style = space indent_size = 4 [*.pyi] _mode = python3-type-stubs indent_style = space indent_size = 4 [requirements.txt] _mode = pip [{.editorconfig,.gitmodules,.pylintrc}] _mode = ini [.gitignore] _mode = gitignore # By specific filename ######################################################### [build-aux/lint-src] _mode = bash [build-aux/{csv2xls,jlcpcb-bom-tool,kicad-sym-{extract,cat},kicad-rp2040-check}] _mode = python3 indent_style = space indent_size = 4