at 17.09-beta 677 B view raw
1# EditorConfig configuration for nixpkgs 2# http://EditorConfig.org 3 4# Top-most EditorConfig file 5root = true 6 7# Unix-style newlines with a newline ending every file, utf-8 charset 8[*] 9end_of_line = lf 10insert_final_newline = true 11trim_trailing_whitespace = true 12charset = utf-8 13 14# see https://nixos.org/nixpkgs/manual/#chap-conventions 15 16# Match nix/ruby files, set indent to spaces with width of two 17[*.{nix,rb}] 18indent_style = space 19indent_size = 2 20 21# Match shell/python/perl scripts, set indent to spaces with width of four 22[*.{sh,py,pl}] 23indent_style = space 24indent_size = 4 25 26# Match diffs, avoid to trim trailing whitespace 27[*.{diff,patch}] 28trim_trailing_whitespace = false