qmk_firmware

QMK firmware for my keyboards (Corne, Sweep Ferris) and trackball (Ploopy Adept)
Log | Files | Refs | Submodules | LICENSE

.editorconfig (871B)


      1 # EditorConfig helps developers define and maintain consistent coding styles between different editors and IDEs
      2 # editorconfig.org
      3 
      4 root = true
      5 
      6 [*]
      7 end_of_line = lf
      8 indent_style = space
      9 indent_size = 4
     10 charset = utf-8
     11 trim_trailing_whitespace = true
     12 insert_final_newline = true
     13 
     14  # To match GitHub Actions formatting
     15 [*.{yaml,yml}]
     16 indent_size = 2
     17 
     18 [*.md]
     19 trim_trailing_whitespace = false
     20 
     21 [{Makefile,*.mk}]
     22 indent_style = tab
     23 
     24 # Don't override anything in `lib/`...
     25 [lib/**]
     26 indent_style = unset
     27 indent_size = unset
     28 tab_width = unset
     29 end_of_line = unset
     30 charset = unset
     31 spelling_language = unset
     32 trim_trailing_whitespace = unset
     33 insert_final_newline = unset
     34 
     35 # ...except QMK's `lib/python`.
     36 [{*.py,lib/python/**.py}]
     37 end_of_line = lf
     38 indent_style = space
     39 indent_size = 4
     40 charset = utf-8
     41 trim_trailing_whitespace = true
     42 insert_final_newline = true
     43 max_line_length = 200