-
Notifications
You must be signed in to change notification settings - Fork 1
/
.projlint.yml
162 lines (157 loc) · 5.1 KB
/
.projlint.yml
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
shared_variables:
rightholder: DavidLaubenstein
project_name: FacyReact
rules:
- xcode_build_phases:
project_path: <:project_name:>.xcodeproj
target_name: App
run_scripts:
BartyCrouch: |
if which bartycrouch > /dev/null; then
bartycrouch update -x
bartycrouch lint -x
else
echo "warning: BartyCrouch not installed, download it from https://github.com/Flinesoft/BartyCrouch"
fi
SwiftGen: |
if which swiftgen > /dev/null; then
swiftgen
else
echo "warning: SwiftGen not installed, download it from https://github.com/AliSoftware/SwiftGen"
fi
SwiftLint: |
if which swiftlint > /dev/null; then
swiftlint --quiet
else
echo "warning: SwiftLint not installed, download it from https://github.com/realm/SwiftLint"
fi
ProjLint: |
if which projlint > /dev/null; then
projlint lint --xcode --timeout 2 --ignore-network-errors
else
echo "warning: ProjLint not installed, download it from https://github.com/JamitLabs/ProjLint"
fi
- xcode_project_navigator:
project_path: <:project_name:>.xcodeproj
sorted:
- App/Sources
- App/Resources
- App/SupportingFiles
- App/Generated
- Tests/Sources
- Tests/Resources
- Tests/SupportingFiles
- UITests/Sources
- UITests/Resources
- UITests/SupportingFiles
inner_group_order: []
structure:
- App:
- Sources:
- AppDelegate.swift
- Globals:
- Extensions
- Resources:
- Colors.xcassets
- Images.xcassets
- Localizable.strings
- Fonts
- SupportingFiles:
- App.entitlements
- BartyCrouch.swift
- LaunchScreen.storyboard
- Info.plist
- InfoPlist.strings
- Generated:
- SwiftGen:
- Assets.swift
- Storyboards.swift
- Strings.swift
- Tests:
- Sources
- Resources
- SupportingFiles:
- Info.plist
- UITests:
- Sources
- Resources
- SupportingFiles:
- Info.plist
- Extensions
- RootFiles:
- .bartycrouch.toml
- .envrc
- .gitignore
- .periphery.yml
- .projlint.yml
- .swiftlint.yml
- beak.swift
- Brewfile
- Package.resolved
- Package.swift
- SwiftGen-xcassets.stencil
- swiftgen.yml
- Products
- Dependencies:
- App
- Tests
- file_content_regex:
matching_all:
.envrc:
- "PATH_add ./Scripts/SymLinks"
.gitignore:
- Scripts/SymLinks
- Carthage/Build
- .build
Brewfile:
- beak
- direnv
- file_content_template:
matching:
.swiftlint.yml:
template_url: "https://raw.githubusercontent.com/JamitLabs/ProjLintTemplates/master/JamitLabs/App/SwiftLint.stencil"
parameters:
rightholder: <:rightholder:>
.projlint.yml:
template_url: "https://raw.githubusercontent.com/JamitLabs/ProjLintTemplates/master/JamitLabs/App/ProjLint.stencil"
parameters:
rightholder: <:rightholder:>
project_name: <:project_name:>
- file_existence:
existing_paths:
- .bartycrouch.toml
- .envrc
- .gitignore
- .periphery.yml
- .projlint.yml
- .swiftlint.yml
- beak.swift
- Brewfile
- Package.swift
- Package.resolved
- README.md
- SwiftGen-xcassets.stencil
- swiftgen.yml
- <:project_name:>.xcodeproj/xcshareddata/IDETemplateMacros.plist
- App/Sources/AppDelegate.swift
- App/Sources/Globals/Branding.swift
- App/Sources/Globals/ErrorHandler.swift
- App/Sources/Globals/Logger.swift
- App/Generated/SwiftGen/Assets.swift
- App/Generated/SwiftGen/Storyboards.swift
- App/Generated/SwiftGen/Strings.swift
- App/SupportingFiles/Info.plist
- App/Resources/de.lproj/Localizable.strings
- App/Resources/en.lproj/Localizable.strings
- App/Resources/Colors.xcassets/Contents.json
- App/Resources/Images.xcassets/AppIcon.appiconset/Contents.json
- Scripts/ci.swift
- Scripts/deps.swift
- Scripts/project.swift
- Scripts/tools.swift
- Tests/SupportingFiles/Info.plist
- UITests/SupportingFiles/Info.plist
- file_content_regex:
not_matching_all:
"<:project_name:>.xcodeproj/xcshareddata/xcschemes/App.xcscheme":
- OS_ACTIVITY_MODE # should not be turned off, remove environment variable from scheme entirely