Based on NixOS/nixpkgs' editorconfig + some for Perl.
CHARBT65CHXLISVFOQDQCSY7SW2W5QL5SU43C3VEEP4U3HCV4H6QC # top-most EditorConfig fileroot = true# Unix-style newlines with a newline ending every file[*]charset = utf-8end_of_line = lfinsert_final_newline = truetrim_trailing_whitespace = true[*.{cc,hh,hpp,pl,pm,sh,t}]indent_style = spaceintend_size = 4[Makefile]indent_style = tab[*.nix]indent_style = spaceindent_size = 2# Match diffs, avoid to trim trailing whitespace[*.{diff,patch}]trim_trailing_whitespace = false