u3d 0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +2 -0
- data/.licenses.json +19 -0
- data/.rspec +1 -0
- data/.rubocop.yml +43 -0
- data/Gemfile +5 -0
- data/Gemfile.lock +98 -0
- data/LICENSE +21 -0
- data/LICENSE.fastlane +22 -0
- data/LOG_RULES.md +170 -0
- data/README.md +72 -0
- data/Rakefile +28 -0
- data/TODO.md +15 -0
- data/build.sh +5 -0
- data/config/log_rules.json +230 -0
- data/examples/Example1/.gitignore +19 -0
- data/examples/Example1/Assets/Editor.meta +9 -0
- data/examples/Example1/Assets/Editor/EditorRun.cs +23 -0
- data/examples/Example1/Assets/Editor/EditorRun.cs.meta +12 -0
- data/examples/Example1/Assets/Editor/FileSystemUtil.cs +26 -0
- data/examples/Example1/Assets/Editor/FileSystemUtil.cs.meta +12 -0
- data/examples/Example1/Assets/Scene1.unity +264 -0
- data/examples/Example1/Assets/Scene1.unity.meta +8 -0
- data/examples/Example1/Gemfile +8 -0
- data/examples/Example1/Gemfile.lock +165 -0
- data/examples/Example1/ProjectSettings/AudioManager.asset +16 -0
- data/examples/Example1/ProjectSettings/ClusterInputManager.asset +6 -0
- data/examples/Example1/ProjectSettings/DynamicsManager.asset +18 -0
- data/examples/Example1/ProjectSettings/EditorBuildSettings.asset +7 -0
- data/examples/Example1/ProjectSettings/EditorSettings.asset +14 -0
- data/examples/Example1/ProjectSettings/GraphicsSettings.asset +61 -0
- data/examples/Example1/ProjectSettings/InputManager.asset +295 -0
- data/examples/Example1/ProjectSettings/NavMeshAreas.asset +89 -0
- data/examples/Example1/ProjectSettings/NetworkManager.asset +8 -0
- data/examples/Example1/ProjectSettings/Physics2DSettings.asset +35 -0
- data/examples/Example1/ProjectSettings/ProjectSettings.asset +591 -0
- data/examples/Example1/ProjectSettings/ProjectVersion.txt +1 -0
- data/examples/Example1/ProjectSettings/QualitySettings.asset +180 -0
- data/examples/Example1/ProjectSettings/TagManager.asset +43 -0
- data/examples/Example1/ProjectSettings/TimeManager.asset +9 -0
- data/examples/Example1/ProjectSettings/UnityConnectSettings.asset +32 -0
- data/examples/Example1/README.md +5 -0
- data/examples/Example1/Rakefile +5 -0
- data/examples/Example1/fastlane/Fastfile +4 -0
- data/examples/Example1/fastlane/Pluginfile +1 -0
- data/examples/Example1/run.sh +1 -0
- data/examples/Example2/.gitignore +20 -0
- data/examples/Example2/Assets/Editor.meta +9 -0
- data/examples/Example2/Assets/Editor/EditorRun.cs +33 -0
- data/examples/Example2/Assets/Editor/EditorRun.cs.meta +12 -0
- data/examples/Example2/Assets/Editor/PostprocessBuildPlayer.cs +92 -0
- data/examples/Example2/Assets/Editor/PostprocessBuildPlayer.cs.meta +8 -0
- data/examples/Example2/Assets/Editor/PostprocessBuildPlayer_log.sh +31 -0
- data/examples/Example2/Assets/Editor/PostprocessBuildPlayer_log.sh.meta +8 -0
- data/examples/Example2/Assets/Editor/SimpleBuildSetup.cs +20 -0
- data/examples/Example2/Assets/Editor/SimpleBuildSetup.cs.meta +12 -0
- data/examples/Example2/Assets/Scene.unity +278 -0
- data/examples/Example2/Assets/Scene.unity.meta +8 -0
- data/examples/Example2/Gemfile +8 -0
- data/examples/Example2/Gemfile.lock +165 -0
- data/examples/Example2/ProjectSettings/AudioManager.asset +17 -0
- data/examples/Example2/ProjectSettings/ClusterInputManager.asset +6 -0
- data/examples/Example2/ProjectSettings/DynamicsManager.asset +19 -0
- data/examples/Example2/ProjectSettings/EditorBuildSettings.asset +10 -0
- data/examples/Example2/ProjectSettings/EditorSettings.asset +14 -0
- data/examples/Example2/ProjectSettings/GraphicsSettings.asset +63 -0
- data/examples/Example2/ProjectSettings/InputManager.asset +295 -0
- data/examples/Example2/ProjectSettings/NavMeshAreas.asset +89 -0
- data/examples/Example2/ProjectSettings/NetworkManager.asset +8 -0
- data/examples/Example2/ProjectSettings/Physics2DSettings.asset +36 -0
- data/examples/Example2/ProjectSettings/ProjectSettings.asset +591 -0
- data/examples/Example2/ProjectSettings/ProjectVersion.txt +1 -0
- data/examples/Example2/ProjectSettings/QualitySettings.asset +193 -0
- data/examples/Example2/ProjectSettings/TagManager.asset +43 -0
- data/examples/Example2/ProjectSettings/TimeManager.asset +9 -0
- data/examples/Example2/ProjectSettings/UnityConnectSettings.asset +34 -0
- data/examples/Example2/README.md +10 -0
- data/examples/Example2/fastlane/Fastfile +4 -0
- data/examples/Example2/fastlane/Pluginfile +1 -0
- data/exe/u3d +7 -0
- data/fastlane-plugin-u3d/.gitignore +10 -0
- data/fastlane-plugin-u3d/.licenses.json +9 -0
- data/fastlane-plugin-u3d/.rspec +3 -0
- data/fastlane-plugin-u3d/.rubocop.yml +253 -0
- data/fastlane-plugin-u3d/.travis.yml +4 -0
- data/fastlane-plugin-u3d/Gemfile +6 -0
- data/fastlane-plugin-u3d/LICENSE +21 -0
- data/fastlane-plugin-u3d/README.md +52 -0
- data/fastlane-plugin-u3d/Rakefile +9 -0
- data/fastlane-plugin-u3d/circle.yml +9 -0
- data/fastlane-plugin-u3d/fastlane-plugin-u3d.gemspec +31 -0
- data/fastlane-plugin-u3d/fastlane/Fastfile +3 -0
- data/fastlane-plugin-u3d/fastlane/Pluginfile +1 -0
- data/fastlane-plugin-u3d/lib/fastlane/plugin/u3d.rb +38 -0
- data/fastlane-plugin-u3d/lib/fastlane/plugin/u3d/actions/u3d_action.rb +80 -0
- data/fastlane-plugin-u3d/lib/fastlane/plugin/u3d/helper/u3d_helper.rb +34 -0
- data/fastlane-plugin-u3d/lib/fastlane/plugin/u3d/version.rb +27 -0
- data/fastlane-plugin-u3d/spec/spec_helper.rb +32 -0
- data/lib/u3d.rb +33 -0
- data/lib/u3d/cache.rb +120 -0
- data/lib/u3d/commands.rb +307 -0
- data/lib/u3d/commands_generator.rb +163 -0
- data/lib/u3d/downloader.rb +363 -0
- data/lib/u3d/iniparser.rb +83 -0
- data/lib/u3d/installer.rb +445 -0
- data/lib/u3d/log_analyzer.rb +221 -0
- data/lib/u3d/unity_version_number.rb +71 -0
- data/lib/u3d/unity_versions.rb +207 -0
- data/lib/u3d/utils.rb +121 -0
- data/lib/u3d/version.rb +31 -0
- data/lib/u3d_core.rb +30 -0
- data/lib/u3d_core/command_executor.rb +134 -0
- data/lib/u3d_core/command_runner.rb +93 -0
- data/lib/u3d_core/credentials.rb +116 -0
- data/lib/u3d_core/globals.rb +84 -0
- data/lib/u3d_core/helper.rb +149 -0
- data/lib/u3d_core/ui/disable_colors.rb +40 -0
- data/lib/u3d_core/ui/implementations/shell.rb +157 -0
- data/lib/u3d_core/ui/interface.rb +182 -0
- data/lib/u3d_core/ui/ui.rb +49 -0
- data/local_gem_install.sh +6 -0
- data/scripts/be +14 -0
- data/u3d.gemspec +41 -0
- metadata +388 -0
@@ -0,0 +1 @@
|
|
1
|
+
m_EditorVersion: 5.6.1f1
|
@@ -0,0 +1,193 @@
|
|
1
|
+
%YAML 1.1
|
2
|
+
%TAG !u! tag:unity3d.com,2011:
|
3
|
+
--- !u!47 &1
|
4
|
+
QualitySettings:
|
5
|
+
m_ObjectHideFlags: 0
|
6
|
+
serializedVersion: 5
|
7
|
+
m_CurrentQuality: 5
|
8
|
+
m_QualitySettings:
|
9
|
+
- serializedVersion: 2
|
10
|
+
name: Very Low
|
11
|
+
pixelLightCount: 0
|
12
|
+
shadows: 0
|
13
|
+
shadowResolution: 0
|
14
|
+
shadowProjection: 1
|
15
|
+
shadowCascades: 1
|
16
|
+
shadowDistance: 15
|
17
|
+
shadowNearPlaneOffset: 3
|
18
|
+
shadowCascade2Split: 0.33333334
|
19
|
+
shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667}
|
20
|
+
shadowmaskMode: 0
|
21
|
+
blendWeights: 1
|
22
|
+
textureQuality: 1
|
23
|
+
anisotropicTextures: 0
|
24
|
+
antiAliasing: 0
|
25
|
+
softParticles: 0
|
26
|
+
softVegetation: 0
|
27
|
+
realtimeReflectionProbes: 0
|
28
|
+
billboardsFaceCameraPosition: 0
|
29
|
+
vSyncCount: 0
|
30
|
+
lodBias: 0.3
|
31
|
+
maximumLODLevel: 0
|
32
|
+
particleRaycastBudget: 4
|
33
|
+
asyncUploadTimeSlice: 2
|
34
|
+
asyncUploadBufferSize: 4
|
35
|
+
resolutionScalingFixedDPIFactor: 1
|
36
|
+
excludedTargetPlatforms: []
|
37
|
+
- serializedVersion: 2
|
38
|
+
name: Low
|
39
|
+
pixelLightCount: 0
|
40
|
+
shadows: 0
|
41
|
+
shadowResolution: 0
|
42
|
+
shadowProjection: 1
|
43
|
+
shadowCascades: 1
|
44
|
+
shadowDistance: 20
|
45
|
+
shadowNearPlaneOffset: 3
|
46
|
+
shadowCascade2Split: 0.33333334
|
47
|
+
shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667}
|
48
|
+
shadowmaskMode: 0
|
49
|
+
blendWeights: 2
|
50
|
+
textureQuality: 0
|
51
|
+
anisotropicTextures: 0
|
52
|
+
antiAliasing: 0
|
53
|
+
softParticles: 0
|
54
|
+
softVegetation: 0
|
55
|
+
realtimeReflectionProbes: 0
|
56
|
+
billboardsFaceCameraPosition: 0
|
57
|
+
vSyncCount: 0
|
58
|
+
lodBias: 0.4
|
59
|
+
maximumLODLevel: 0
|
60
|
+
particleRaycastBudget: 16
|
61
|
+
asyncUploadTimeSlice: 2
|
62
|
+
asyncUploadBufferSize: 4
|
63
|
+
resolutionScalingFixedDPIFactor: 1
|
64
|
+
excludedTargetPlatforms: []
|
65
|
+
- serializedVersion: 2
|
66
|
+
name: Medium
|
67
|
+
pixelLightCount: 1
|
68
|
+
shadows: 1
|
69
|
+
shadowResolution: 0
|
70
|
+
shadowProjection: 1
|
71
|
+
shadowCascades: 1
|
72
|
+
shadowDistance: 20
|
73
|
+
shadowNearPlaneOffset: 3
|
74
|
+
shadowCascade2Split: 0.33333334
|
75
|
+
shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667}
|
76
|
+
shadowmaskMode: 0
|
77
|
+
blendWeights: 2
|
78
|
+
textureQuality: 0
|
79
|
+
anisotropicTextures: 1
|
80
|
+
antiAliasing: 0
|
81
|
+
softParticles: 0
|
82
|
+
softVegetation: 0
|
83
|
+
realtimeReflectionProbes: 0
|
84
|
+
billboardsFaceCameraPosition: 0
|
85
|
+
vSyncCount: 1
|
86
|
+
lodBias: 0.7
|
87
|
+
maximumLODLevel: 0
|
88
|
+
particleRaycastBudget: 64
|
89
|
+
asyncUploadTimeSlice: 2
|
90
|
+
asyncUploadBufferSize: 4
|
91
|
+
resolutionScalingFixedDPIFactor: 1
|
92
|
+
excludedTargetPlatforms: []
|
93
|
+
- serializedVersion: 2
|
94
|
+
name: High
|
95
|
+
pixelLightCount: 2
|
96
|
+
shadows: 2
|
97
|
+
shadowResolution: 1
|
98
|
+
shadowProjection: 1
|
99
|
+
shadowCascades: 2
|
100
|
+
shadowDistance: 40
|
101
|
+
shadowNearPlaneOffset: 3
|
102
|
+
shadowCascade2Split: 0.33333334
|
103
|
+
shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667}
|
104
|
+
shadowmaskMode: 1
|
105
|
+
blendWeights: 2
|
106
|
+
textureQuality: 0
|
107
|
+
anisotropicTextures: 1
|
108
|
+
antiAliasing: 0
|
109
|
+
softParticles: 0
|
110
|
+
softVegetation: 1
|
111
|
+
realtimeReflectionProbes: 1
|
112
|
+
billboardsFaceCameraPosition: 1
|
113
|
+
vSyncCount: 1
|
114
|
+
lodBias: 1
|
115
|
+
maximumLODLevel: 0
|
116
|
+
particleRaycastBudget: 256
|
117
|
+
asyncUploadTimeSlice: 2
|
118
|
+
asyncUploadBufferSize: 4
|
119
|
+
resolutionScalingFixedDPIFactor: 1
|
120
|
+
excludedTargetPlatforms: []
|
121
|
+
- serializedVersion: 2
|
122
|
+
name: Very High
|
123
|
+
pixelLightCount: 3
|
124
|
+
shadows: 2
|
125
|
+
shadowResolution: 2
|
126
|
+
shadowProjection: 1
|
127
|
+
shadowCascades: 2
|
128
|
+
shadowDistance: 70
|
129
|
+
shadowNearPlaneOffset: 3
|
130
|
+
shadowCascade2Split: 0.33333334
|
131
|
+
shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667}
|
132
|
+
shadowmaskMode: 1
|
133
|
+
blendWeights: 4
|
134
|
+
textureQuality: 0
|
135
|
+
anisotropicTextures: 2
|
136
|
+
antiAliasing: 2
|
137
|
+
softParticles: 1
|
138
|
+
softVegetation: 1
|
139
|
+
realtimeReflectionProbes: 1
|
140
|
+
billboardsFaceCameraPosition: 1
|
141
|
+
vSyncCount: 1
|
142
|
+
lodBias: 1.5
|
143
|
+
maximumLODLevel: 0
|
144
|
+
particleRaycastBudget: 1024
|
145
|
+
asyncUploadTimeSlice: 2
|
146
|
+
asyncUploadBufferSize: 4
|
147
|
+
resolutionScalingFixedDPIFactor: 1
|
148
|
+
excludedTargetPlatforms: []
|
149
|
+
- serializedVersion: 2
|
150
|
+
name: Ultra
|
151
|
+
pixelLightCount: 4
|
152
|
+
shadows: 2
|
153
|
+
shadowResolution: 2
|
154
|
+
shadowProjection: 1
|
155
|
+
shadowCascades: 4
|
156
|
+
shadowDistance: 150
|
157
|
+
shadowNearPlaneOffset: 3
|
158
|
+
shadowCascade2Split: 0.33333334
|
159
|
+
shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667}
|
160
|
+
shadowmaskMode: 1
|
161
|
+
blendWeights: 4
|
162
|
+
textureQuality: 0
|
163
|
+
anisotropicTextures: 2
|
164
|
+
antiAliasing: 2
|
165
|
+
softParticles: 1
|
166
|
+
softVegetation: 1
|
167
|
+
realtimeReflectionProbes: 1
|
168
|
+
billboardsFaceCameraPosition: 1
|
169
|
+
vSyncCount: 1
|
170
|
+
lodBias: 2
|
171
|
+
maximumLODLevel: 0
|
172
|
+
particleRaycastBudget: 4096
|
173
|
+
asyncUploadTimeSlice: 2
|
174
|
+
asyncUploadBufferSize: 4
|
175
|
+
resolutionScalingFixedDPIFactor: 1
|
176
|
+
excludedTargetPlatforms: []
|
177
|
+
m_PerPlatformDefaultQuality:
|
178
|
+
Android: 2
|
179
|
+
Nintendo 3DS: 5
|
180
|
+
Nintendo Switch: 5
|
181
|
+
PS4: 5
|
182
|
+
PSM: 5
|
183
|
+
PSP2: 2
|
184
|
+
Samsung TV: 2
|
185
|
+
Standalone: 5
|
186
|
+
Tizen: 2
|
187
|
+
Web: 5
|
188
|
+
WebGL: 3
|
189
|
+
WiiU: 5
|
190
|
+
Windows Store Apps: 5
|
191
|
+
XboxOne: 5
|
192
|
+
iPhone: 2
|
193
|
+
tvOS: 2
|
@@ -0,0 +1,43 @@
|
|
1
|
+
%YAML 1.1
|
2
|
+
%TAG !u! tag:unity3d.com,2011:
|
3
|
+
--- !u!78 &1
|
4
|
+
TagManager:
|
5
|
+
serializedVersion: 2
|
6
|
+
tags: []
|
7
|
+
layers:
|
8
|
+
- Default
|
9
|
+
- TransparentFX
|
10
|
+
- Ignore Raycast
|
11
|
+
-
|
12
|
+
- Water
|
13
|
+
- UI
|
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
|
+
m_SortingLayers:
|
41
|
+
- name: Default
|
42
|
+
uniqueID: 0
|
43
|
+
locked: 0
|
@@ -0,0 +1,34 @@
|
|
1
|
+
%YAML 1.1
|
2
|
+
%TAG !u! tag:unity3d.com,2011:
|
3
|
+
--- !u!310 &1
|
4
|
+
UnityConnectSettings:
|
5
|
+
m_ObjectHideFlags: 0
|
6
|
+
m_Enabled: 0
|
7
|
+
m_TestMode: 0
|
8
|
+
m_TestEventUrl:
|
9
|
+
m_TestConfigUrl:
|
10
|
+
m_TestInitMode: 0
|
11
|
+
CrashReportingSettings:
|
12
|
+
m_EventUrl: https://perf-events.cloud.unity3d.com/api/events/crashes
|
13
|
+
m_Enabled: 0
|
14
|
+
m_CaptureEditorExceptions: 1
|
15
|
+
UnityPurchasingSettings:
|
16
|
+
m_Enabled: 0
|
17
|
+
m_TestMode: 0
|
18
|
+
UnityAnalyticsSettings:
|
19
|
+
m_Enabled: 0
|
20
|
+
m_InitializeOnStartup: 1
|
21
|
+
m_TestMode: 0
|
22
|
+
m_TestEventUrl:
|
23
|
+
m_TestConfigUrl:
|
24
|
+
UnityAdsSettings:
|
25
|
+
m_Enabled: 0
|
26
|
+
m_InitializeOnStartup: 1
|
27
|
+
m_TestMode: 0
|
28
|
+
m_EnabledPlatforms: 4294967295
|
29
|
+
m_IosGameId:
|
30
|
+
m_AndroidGameId:
|
31
|
+
m_GameIds: {}
|
32
|
+
m_GameId:
|
33
|
+
PerformanceReportingSettings:
|
34
|
+
m_Enabled: 0
|
@@ -0,0 +1 @@
|
|
1
|
+
gem 'fastlane-plugin-u3d', :path => File.join(REPO_ROOT, 'fastlane-plugin-u3d')
|
data/exe/u3d
ADDED
@@ -0,0 +1,253 @@
|
|
1
|
+
Style/PercentLiteralDelimiters:
|
2
|
+
Enabled: false
|
3
|
+
|
4
|
+
# kind_of? is a good way to check a type
|
5
|
+
Style/ClassCheck:
|
6
|
+
EnforcedStyle: kind_of?
|
7
|
+
|
8
|
+
Style/FrozenStringLiteralComment:
|
9
|
+
Enabled: false
|
10
|
+
|
11
|
+
# This doesn't work with older versions of Ruby (pre 2.4.0)
|
12
|
+
Style/SafeNavigation:
|
13
|
+
Enabled: false
|
14
|
+
|
15
|
+
# This doesn't work with older versions of Ruby (pre 2.4.0)
|
16
|
+
Performance/RegexpMatch:
|
17
|
+
Enabled: false
|
18
|
+
|
19
|
+
# This suggests use of `tr` instead of `gsub`. While this might be more performant,
|
20
|
+
# these methods are not at all interchangable, and behave very differently. This can
|
21
|
+
# lead to people making the substitution without considering the differences.
|
22
|
+
Performance/StringReplacement:
|
23
|
+
Enabled: false
|
24
|
+
|
25
|
+
# .length == 0 is also good, we don't always want .zero?
|
26
|
+
Style/NumericPredicate:
|
27
|
+
Enabled: false
|
28
|
+
|
29
|
+
# this would cause errors with long lanes
|
30
|
+
Metrics/BlockLength:
|
31
|
+
Enabled: false
|
32
|
+
|
33
|
+
# this is a bit buggy
|
34
|
+
Metrics/ModuleLength:
|
35
|
+
Enabled: false
|
36
|
+
|
37
|
+
# certificate_1 is an okay variable name
|
38
|
+
Style/VariableNumber:
|
39
|
+
Enabled: false
|
40
|
+
|
41
|
+
# This is used a lot across the fastlane code base for config files
|
42
|
+
Style/MethodMissing:
|
43
|
+
Enabled: false
|
44
|
+
|
45
|
+
#
|
46
|
+
# File.chmod(0777, f)
|
47
|
+
#
|
48
|
+
# is easier to read than
|
49
|
+
#
|
50
|
+
# File.chmod(0o777, f)
|
51
|
+
#
|
52
|
+
Style/NumericLiteralPrefix:
|
53
|
+
Enabled: false
|
54
|
+
|
55
|
+
#
|
56
|
+
# command = (!clean_expired.nil? || !clean_pattern.nil?) ? CLEANUP : LIST
|
57
|
+
#
|
58
|
+
# is easier to read than
|
59
|
+
#
|
60
|
+
# command = !clean_expired.nil? || !clean_pattern.nil? ? CLEANUP : LIST
|
61
|
+
#
|
62
|
+
Style/TernaryParentheses:
|
63
|
+
Enabled: false
|
64
|
+
|
65
|
+
# sometimes it is useful to have those empty methods
|
66
|
+
Style/EmptyMethod:
|
67
|
+
Enabled: false
|
68
|
+
|
69
|
+
# It's better to be more explicit about the type
|
70
|
+
Style/BracesAroundHashParameters:
|
71
|
+
Enabled: false
|
72
|
+
|
73
|
+
# specs sometimes have useless assignments, which is fine
|
74
|
+
Lint/UselessAssignment:
|
75
|
+
Exclude:
|
76
|
+
- '**/spec/**/*'
|
77
|
+
|
78
|
+
# We could potentially enable the 2 below:
|
79
|
+
Style/IndentHash:
|
80
|
+
Enabled: false
|
81
|
+
|
82
|
+
Style/AlignHash:
|
83
|
+
Enabled: false
|
84
|
+
|
85
|
+
# HoundCI doesn't like this rule
|
86
|
+
Style/DotPosition:
|
87
|
+
Enabled: false
|
88
|
+
|
89
|
+
# We allow !! as it's an easy way to convert ot boolean
|
90
|
+
Style/DoubleNegation:
|
91
|
+
Enabled: false
|
92
|
+
|
93
|
+
# Prevent to replace [] into %i
|
94
|
+
Style/SymbolArray:
|
95
|
+
Enabled: false
|
96
|
+
|
97
|
+
# We still support Ruby 2.0.0
|
98
|
+
Style/IndentHeredoc:
|
99
|
+
Enabled: false
|
100
|
+
|
101
|
+
# This cop would not work fine with rspec
|
102
|
+
Style/MixinGrouping:
|
103
|
+
Exclude:
|
104
|
+
- '**/spec/**/*'
|
105
|
+
|
106
|
+
# Sometimes we allow a rescue block that doesn't contain code
|
107
|
+
Lint/HandleExceptions:
|
108
|
+
Enabled: false
|
109
|
+
|
110
|
+
# Cop supports --auto-correct.
|
111
|
+
Lint/UnusedBlockArgument:
|
112
|
+
Enabled: false
|
113
|
+
|
114
|
+
Lint/AmbiguousBlockAssociation:
|
115
|
+
Enabled: false
|
116
|
+
|
117
|
+
# Needed for $verbose
|
118
|
+
Style/GlobalVars:
|
119
|
+
Enabled: false
|
120
|
+
|
121
|
+
# We want to allow class Fastlane::Class
|
122
|
+
Style/ClassAndModuleChildren:
|
123
|
+
Enabled: false
|
124
|
+
|
125
|
+
# $? Exit
|
126
|
+
Style/SpecialGlobalVars:
|
127
|
+
Enabled: false
|
128
|
+
|
129
|
+
Metrics/AbcSize:
|
130
|
+
Enabled: false
|
131
|
+
|
132
|
+
Metrics/MethodLength:
|
133
|
+
Enabled: false
|
134
|
+
|
135
|
+
Metrics/CyclomaticComplexity:
|
136
|
+
Enabled: false
|
137
|
+
|
138
|
+
# The %w might be confusing for new users
|
139
|
+
Style/WordArray:
|
140
|
+
MinSize: 19
|
141
|
+
|
142
|
+
# raise and fail are both okay
|
143
|
+
Style/SignalException:
|
144
|
+
Enabled: false
|
145
|
+
|
146
|
+
# Better too much 'return' than one missing
|
147
|
+
Style/RedundantReturn:
|
148
|
+
Enabled: false
|
149
|
+
|
150
|
+
# Having if in the same line might not always be good
|
151
|
+
Style/IfUnlessModifier:
|
152
|
+
Enabled: false
|
153
|
+
|
154
|
+
# and and or is okay
|
155
|
+
Style/AndOr:
|
156
|
+
Enabled: false
|
157
|
+
|
158
|
+
# Configuration parameters: CountComments.
|
159
|
+
Metrics/ClassLength:
|
160
|
+
Max: 320
|
161
|
+
|
162
|
+
|
163
|
+
# Configuration parameters: AllowURI, URISchemes.
|
164
|
+
Metrics/LineLength:
|
165
|
+
Max: 370
|
166
|
+
|
167
|
+
# Configuration parameters: CountKeywordArgs.
|
168
|
+
Metrics/ParameterLists:
|
169
|
+
Max: 17
|
170
|
+
|
171
|
+
Metrics/PerceivedComplexity:
|
172
|
+
Max: 18
|
173
|
+
|
174
|
+
# Sometimes it's easier to read without guards
|
175
|
+
Style/GuardClause:
|
176
|
+
Enabled: false
|
177
|
+
|
178
|
+
# We allow both " and '
|
179
|
+
Style/StringLiterals:
|
180
|
+
Enabled: false
|
181
|
+
|
182
|
+
# something = if something_else
|
183
|
+
# that's confusing
|
184
|
+
Style/ConditionalAssignment:
|
185
|
+
Enabled: false
|
186
|
+
|
187
|
+
# Better to have too much self than missing a self
|
188
|
+
Style/RedundantSelf:
|
189
|
+
Enabled: false
|
190
|
+
|
191
|
+
# e.g.
|
192
|
+
# def self.is_supported?(platform)
|
193
|
+
# we may never use `platform`
|
194
|
+
Lint/UnusedMethodArgument:
|
195
|
+
Enabled: false
|
196
|
+
|
197
|
+
# the let(:key) { ... }
|
198
|
+
Lint/ParenthesesAsGroupedExpression:
|
199
|
+
Exclude:
|
200
|
+
- '**/spec/**/*'
|
201
|
+
|
202
|
+
# This would reject is_ in front of methods
|
203
|
+
# We use `is_supported?` everywhere already
|
204
|
+
Style/PredicateName:
|
205
|
+
Enabled: false
|
206
|
+
|
207
|
+
# We allow the $
|
208
|
+
Style/PerlBackrefs:
|
209
|
+
Enabled: false
|
210
|
+
|
211
|
+
# Disable '+ should be surrounded with a single space' for xcodebuild_spec.rb
|
212
|
+
Style/SpaceAroundOperators:
|
213
|
+
Exclude:
|
214
|
+
- '**/spec/actions_specs/xcodebuild_spec.rb'
|
215
|
+
|
216
|
+
AllCops:
|
217
|
+
Include:
|
218
|
+
- '**/fastlane/Fastfile'
|
219
|
+
Exclude:
|
220
|
+
- '**/lib/assets/custom_action_template.rb'
|
221
|
+
- './vendor/**/*'
|
222
|
+
|
223
|
+
# They have not to be snake_case
|
224
|
+
Style/FileName:
|
225
|
+
Exclude:
|
226
|
+
- '**/Dangerfile'
|
227
|
+
- '**/Brewfile'
|
228
|
+
- '**/Gemfile'
|
229
|
+
- '**/Podfile'
|
230
|
+
- '**/Rakefile'
|
231
|
+
- '**/Fastfile'
|
232
|
+
- '**/Deliverfile'
|
233
|
+
- '**/Snapfile'
|
234
|
+
|
235
|
+
# We're not there yet
|
236
|
+
Style/Documentation:
|
237
|
+
Enabled: false
|
238
|
+
|
239
|
+
# Added after upgrade to 0.38.0
|
240
|
+
Style/MutableConstant:
|
241
|
+
Enabled: false
|
242
|
+
|
243
|
+
# length > 0 is good
|
244
|
+
Style/ZeroLengthPredicate:
|
245
|
+
Enabled: false
|
246
|
+
|
247
|
+
# Adds complexity
|
248
|
+
Style/IfInsideElse:
|
249
|
+
Enabled: false
|
250
|
+
|
251
|
+
# Sometimes we just want to 'collect'
|
252
|
+
Style/CollectionMethods:
|
253
|
+
Enabled: false
|