fork
Configure Feed
Select the types of activity you want to include in your feed.
lol
fork
Configure Feed
Select the types of activity you want to include in your feed.
1# EditorConfig configuration for nixpkgs
2# https://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# Ignore diffs/patches
15[*.{diff,patch}]
16end_of_line = unset
17insert_final_newline = unset
18trim_trailing_whitespace = unset
19
20# see https://nixos.org/nixpkgs/manual/#chap-conventions
21
22# Match json/lockfiles/markdown/nix/perl/python/ruby/shell/docbook files, set indent to spaces
23[*.{json,lock,md,nix,pl,pm,py,rb,sh,xml}]
24indent_style = space
25
26# Match docbook files, set indent width of one
27[*.xml]
28indent_size = 1
29
30# Match json/lockfiles/markdown/nix/ruby files, set indent width of two
31[*.{json,lock,md,nix,rb}]
32indent_size = 2
33
34# Match perl/python/shell scripts, set indent width of four
35[*.{pl,pm,py,sh}]
36indent_size = 4
37
38# Match gemfiles, set indent to spaces with width of two
39[Gemfile]
40indent_size = 2
41indent_style = space
42
43# Disable file types or individual files
44# some of these files may be auto-generated and/or require significant changes
45
46[*.{c,h}]
47insert_final_newline = unset
48trim_trailing_whitespace = unset
49
50[*.{asc,key,ovpn}]
51insert_final_newline = unset
52end_of_line = unset
53trim_trailing_whitespace = unset
54
55[*.lock]
56indent_size = unset
57
58# Although Markdown/CommonMark allows using two trailing spaces to denote
59# a hard line break, we do not use that feature in nixpkgs since
60# it forces the surrounding paragraph to become a <literallayout> which
61# does not wrap reasonably.
62# Instead of a hard line break, start a new paragraph by inserting a blank line.
63[*.md]
64trim_trailing_whitespace = true
65
66# binaries
67[*.nib]
68end_of_line = unset
69insert_final_newline = unset
70trim_trailing_whitespace = unset
71charset = unset
72
73[eggs.nix]
74trim_trailing_whitespace = unset
75
76[nixos/modules/services/networking/ircd-hybrid/*.{conf,in}]
77trim_trailing_whitespace = unset
78
79[pkgs/build-support/dotnetenv/Wrapper/**]
80end_of_line = unset
81indent_style = unset
82insert_final_newline = unset
83trim_trailing_whitespace = unset
84
85[pkgs/development/compilers/elm/registry.dat]
86end_of_line = unset
87insert_final_newline = unset
88
89[pkgs/development/haskell-modules/hackage-packages.nix]
90indent_style = unset
91trim_trailing_whitespace = unset
92
93[pkgs/servers/dict/wordnet_structures.py]
94trim_trailing_whitespace = unset
95
96[pkgs/tools/misc/timidity/timidity.cfg]
97trim_trailing_whitespace = unset
98
99[pkgs/tools/virtualization/ovftool/*.ova]
100end_of_line = unset
101insert_final_newline = unset
102trim_trailing_whitespace = unset
103charset = unset
104
105[lib/tests/*.plist]
106indent_style = tab
107insert_final_newline = unset