Skip to content

Commit 647e205

Browse files
committed
Add RuboCop and fix violations
1 parent 3b30eeb commit 647e205

File tree

4 files changed

+25
-3
lines changed

4 files changed

+25
-3
lines changed

.ruby-version

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.2.2

Gemfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# frozen_string_literal: true
22

3-
source "https://rubygems.org"
3+
source 'https://rubygems.org'
44

55
gem 'fastlane', '~> 2.222'
66
gem 'fastlane-plugin-wpmreleasetoolkit', '~> 11.0'
7+
gem 'rubocop', '~> 1.65'

Gemfile.lock

+22
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ GEM
1919
addressable (2.8.7)
2020
public_suffix (>= 2.0.2, < 7.0)
2121
artifactory (3.0.17)
22+
ast (2.4.2)
2223
atomos (0.1.3)
2324
aws-eventstream (1.3.0)
2425
aws-partitions (1.966.0)
@@ -196,6 +197,7 @@ GEM
196197
json (2.7.2)
197198
jwt (2.8.2)
198199
base64
200+
language_server-protocol (3.17.0.3)
199201
logger (1.6.0)
200202
mini_magick (4.13.2)
201203
mini_mime (1.1.5)
@@ -214,16 +216,21 @@ GEM
214216
optparse (0.5.0)
215217
os (1.1.4)
216218
parallel (1.26.3)
219+
parser (3.3.4.2)
220+
ast (~> 2.4.1)
221+
racc
217222
plist (3.7.1)
218223
progress_bar (1.3.4)
219224
highline (>= 1.6)
220225
options (~> 2.3.0)
221226
public_suffix (6.0.1)
222227
racc (1.8.1)
228+
rainbow (3.1.1)
223229
rake (13.2.1)
224230
rake-compiler (1.2.7)
225231
rake
226232
rchardet (1.8.0)
233+
regexp_parser (2.9.2)
227234
representable (3.2.0)
228235
declarative (< 0.1.0)
229236
trailblazer-option (>= 0.1.1, < 0.2.0)
@@ -232,6 +239,20 @@ GEM
232239
rexml (3.3.5)
233240
strscan
234241
rouge (2.0.7)
242+
rubocop (1.65.1)
243+
json (~> 2.3)
244+
language_server-protocol (>= 3.17.0)
245+
parallel (~> 1.10)
246+
parser (>= 3.3.0.2)
247+
rainbow (>= 2.2.2, < 4.0)
248+
regexp_parser (>= 2.4, < 3.0)
249+
rexml (>= 3.2.5, < 4.0)
250+
rubocop-ast (>= 1.31.1, < 2.0)
251+
ruby-progressbar (~> 1.7)
252+
unicode-display_width (>= 2.4.0, < 3.0)
253+
rubocop-ast (1.32.1)
254+
parser (>= 3.3.1.0)
255+
ruby-progressbar (1.13.0)
235256
ruby2_keywords (0.0.5)
236257
rubyzip (2.3.2)
237258
sawyer (0.9.2)
@@ -279,6 +300,7 @@ PLATFORMS
279300
DEPENDENCIES
280301
fastlane (~> 2.222)
281302
fastlane-plugin-wpmreleasetoolkit (~> 11.0)
303+
rubocop (~> 1.65)
282304

283305
BUNDLED WITH
284306
2.4.22

fastlane/Fastfile

-2
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,7 @@ SUPPORTED_LOCALES = [
2828
{ glotpress: 'zh-tw', android: 'zh-rTW' }
2929
].freeze
3030

31-
3231
platform :android do
33-
3432
# Download the latest app translations from GlotPress and update the strings.xml files accordingly.
3533
#
3634
lane :download_translations do

0 commit comments

Comments
 (0)