Skip to content

Commit 68eddf5

Browse files
committed
Adds standard formatter and linter
1 parent 0046bd3 commit 68eddf5

File tree

3 files changed

+29
-0
lines changed

3 files changed

+29
-0
lines changed

.standard.yml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ruby_version: 2.5.0

Gemfile

+1
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ group :development do
8787
gem 'bullet'
8888
gem 'foreman'
8989
gem 'onesky-rails'
90+
gem 'standard', '~> 1.3'
9091
gem 'web-console'
9192
end
9293

Gemfile.lock

+27
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ GEM
9898
sshkit (>= 1.6.1, != 1.7.0)
9999
ansi (1.5.0)
100100
arel (8.0.0)
101+
ast (2.4.2)
101102
autoprefixer-rails (9.4.9)
102103
execjs
103104
bcrypt (3.1.13)
@@ -280,8 +281,11 @@ GEM
280281
mime-types
281282
mimemagic (~> 0.3.0)
282283
terrapin (~> 0.6.0)
284+
parallel (1.21.0)
283285
paranoia (2.4.1)
284286
activerecord (>= 4.0, < 5.3)
287+
parser (3.0.2.0)
288+
ast (~> 2.4.1)
285289
pdf-core (0.6.1)
286290
pg (0.21.0)
287291
poltergeist (1.18.1)
@@ -340,6 +344,7 @@ GEM
340344
method_source
341345
rake (>= 0.8.7)
342346
thor (>= 0.18.1, < 2.0)
347+
rainbow (3.0.0)
343348
rake (12.3.3)
344349
rb-fsevent (0.10.3)
345350
rb-inotify (0.10.0)
@@ -349,6 +354,7 @@ GEM
349354
redcarpet (3.4.0)
350355
redis (3.3.5)
351356
ref (2.0.0)
357+
regexp_parser (2.1.1)
352358
request_store (1.4.1)
353359
rack (>= 1.4)
354360
responders (3.0.0)
@@ -358,6 +364,7 @@ GEM
358364
http-cookie (>= 1.0.2, < 2.0)
359365
mime-types (>= 1.16, < 3.0)
360366
netrc (~> 0.7)
367+
rexml (3.2.5)
361368
roadie (3.3.0)
362369
css_parser (~> 1.4)
363370
nokogiri (~> 1.5)
@@ -398,6 +405,21 @@ GEM
398405
rspec-support (3.7.1)
399406
rspec_junit_formatter (0.4.1)
400407
rspec-core (>= 2, < 4, != 2.12.0)
408+
rubocop (1.20.0)
409+
parallel (~> 1.10)
410+
parser (>= 3.0.0.0)
411+
rainbow (>= 2.2.2, < 4.0)
412+
regexp_parser (>= 1.8, < 3.0)
413+
rexml
414+
rubocop-ast (>= 1.9.1, < 2.0)
415+
ruby-progressbar (~> 1.7)
416+
unicode-display_width (>= 1.4.0, < 3.0)
417+
rubocop-ast (1.12.0)
418+
parser (>= 3.0.1.1)
419+
rubocop-performance (1.11.5)
420+
rubocop (>= 1.7.0, < 2.0)
421+
rubocop-ast (>= 0.4.0)
422+
ruby-progressbar (1.11.0)
401423
ruby_dep (1.5.0)
402424
rufus-scheduler (3.4.2)
403425
et-orbi (~> 1.0)
@@ -445,6 +467,9 @@ GEM
445467
sshkit (1.19.1)
446468
net-scp (>= 1.1.2)
447469
net-ssh (>= 2.8.0)
470+
standard (1.3.0)
471+
rubocop (= 1.20.0)
472+
rubocop-performance (= 1.11.5)
448473
terrapin (0.6.0)
449474
climate_control (>= 0.0.3, < 1.0)
450475
therubyracer (0.12.3)
@@ -464,6 +489,7 @@ GEM
464489
unf (0.1.4)
465490
unf_ext
466491
unf_ext (0.0.7.2)
492+
unicode-display_width (2.1.0)
467493
uniform_notifier (1.11.0)
468494
warden (1.2.8)
469495
rack (>= 2.0.6)
@@ -554,6 +580,7 @@ DEPENDENCIES
554580
sidekiq-unique-jobs
555581
simple_form
556582
sitemap_generator
583+
standard (~> 1.3)
557584
therubyracer
558585
turbolinks
559586
uglifier

0 commit comments

Comments
 (0)