forked from vedderb/vesc_tool
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtreefmt.nix
More file actions
65 lines (62 loc) · 1.05 KB
/
treefmt.nix
File metadata and controls
65 lines (62 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{ pkgs, ... }:
{
# Used to find the project root
projectRootFile = "flake.nix";
programs.nixfmt.enable = true;
# Files to exclude from formatting.
settings.global.excludes = [
# Generated files
"build/**"
"tools/**"
# Exclude non-Nix code for now.
"**/.editorconfig"
"**/.gitattributes"
"**/.gitignore"
"**/.clang-format"
"LICENSE"
"**/LICENSE"
"**/LICENSE.MIT"
"**/AUTHORS"
"*.c"
"*.h"
"*.cpp"
"*.hpp"
"*.ui"
"*.qml"
"*.pri"
"*.qrc"
"*.pro"
"*.png"
"*.jpg"
"*.svg"
"*.json"
"*.bin"
"*.ttf"
"*.md"
"*.xml"
"*.lbm"
"*.yml"
"*.conf"
"*.txt"
"*.sh"
"*.plist"
# spell-checker: disable-next-line
"qmarkdowntextedit/trans/**"
"*.pc.in"
"build_*"
"*.storyboard"
"ios/iTunesArtwork"
"ios/iTunesArtwork@2x"
"*.mm"
"*.icns"
"**/HUFFCODE"
"QCodeEditor/include/**"
"*.in"
"*.gradle"
"*.java"
"*.jar"
"*.properties"
"**/gradlew"
"application/create_app"
];
}