Skip to content

Commit

Permalink
support prettier. #653
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Oct 11, 2020
1 parent f99c540 commit 2ec9074
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 25 deletions.
7 changes: 7 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"preferSingleQuotes": false,
"tabWidth": 2,
"printWidth": 80,
"addTrailingCommas": true,
"bracketSpacing": true
}
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ group :development, :test do
gem "rubocop", "~> 0.77.0"
gem 'rubocop-performance', '~> 1.5', '>= 1.5.1'
gem "rubocop-rails", "~> 2.4"
gem 'prettier', '~> 0.13.0'
gem "better_errors"
gem "binding_of_caller"
gem "byebug", platforms: [:mri, :mingw, :x64_mingw]
Expand Down
51 changes: 26 additions & 25 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -52,29 +52,29 @@ GEM
addressable (2.7.0)
public_suffix (>= 2.0.2, < 5.0)
ansi (1.5.0)
apollo-federation (1.1.3)
apollo-federation (1.1.4)
google-protobuf (~> 3.7)
graphql (>= 1.9.8)
arel (9.0.0)
ast (2.4.1)
audited (4.9.0)
activerecord (>= 4.2, < 6.1)
aws-eventstream (1.1.0)
aws-partitions (1.368.0)
aws-sdk-core (3.105.0)
aws-partitions (1.381.0)
aws-sdk-core (3.109.1)
aws-eventstream (~> 1, >= 1.0.2)
aws-partitions (~> 1, >= 1.239.0)
aws-sigv4 (~> 1.1)
jmespath (~> 1.0)
aws-sdk-kms (1.37.0)
aws-sdk-core (~> 3, >= 3.99.0)
aws-sdk-kms (1.39.0)
aws-sdk-core (~> 3, >= 3.109.0)
aws-sigv4 (~> 1.1)
aws-sdk-s3 (1.80.0)
aws-sdk-core (~> 3, >= 3.104.3)
aws-sdk-s3 (1.83.0)
aws-sdk-core (~> 3, >= 3.109.0)
aws-sdk-kms (~> 1)
aws-sigv4 (~> 1.1)
aws-sdk-sqs (1.32.0)
aws-sdk-core (~> 3, >= 3.99.0)
aws-sdk-sqs (1.34.0)
aws-sdk-core (~> 3, >= 3.109.0)
aws-sigv4 (~> 1.1)
aws-sigv4 (1.2.2)
aws-eventstream (~> 1, >= 1.0.2)
Expand All @@ -94,15 +94,15 @@ GEM
oj (>= 2.8.3)
pandoc-ruby (~> 2.0, >= 2.0.0)
safe_yaml (~> 1.0, >= 1.0.4)
better_errors (2.7.1)
better_errors (2.8.3)
coderay (>= 1.0.0)
erubi (>= 1.0.0)
rack (>= 0.9.0)
bibtex-ruby (5.1.4)
latex-decode (~> 0.0)
binding_of_caller (0.8.0)
debug_inspector (>= 0.0.1)
bolognese (1.8.9)
bolognese (1.8.10)
activesupport (>= 4.2.5)
benchmark_methods (~> 0.7)
bibtex-ruby (>= 5.1.0)
Expand Down Expand Up @@ -165,10 +165,9 @@ GEM
country_select (3.1.1)
countries (~> 2.0)
sort_alphabetical (~> 1.0)
crack (0.4.3)
safe_yaml (~> 1.0.0)
crack (0.4.4)
crass (1.0.6)
crawler_detect (1.0.1)
crawler_detect (1.0.2)
oj (>= 3.0)
qonfig (~> 0.24)
csl (1.5.1)
Expand All @@ -177,7 +176,7 @@ GEM
csl (~> 1.0)
css_parser (1.7.1)
addressable
dalli (2.7.10)
dalli (2.7.11)
database_cleaner (1.8.5)
ddtrace (0.32.0)
msgpack
Expand Down Expand Up @@ -251,15 +250,15 @@ GEM
globalid (0.4.2)
activesupport (>= 4.2.0)
google-protobuf (3.10.0.rc.1)
graphql (1.11.4)
graphql (1.11.5)
graphql-batch (0.4.3)
graphql (>= 1.3, < 2)
promise.rb (~> 0.7.2)
graphql-cache (0.6.0)
graphql (~> 1, > 1.8)
graphql-errors (0.4.0)
graphql (>= 1.6.0, < 2)
haml (5.1.2)
haml (5.2.0)
temple (>= 0.8.0)
tilt
hamster (3.0.0)
Expand Down Expand Up @@ -366,30 +365,31 @@ GEM
net-http-persistent (3.1.0)
connection_pool (~> 2.2)
netrc (0.11.0)
nio4r (2.5.3)
nio4r (2.5.4)
nokogiri (1.10.10)
mini_portile2 (~> 2.4.0)
oj (3.10.14)
oj_mimic_json (1.0.1)
optimist (3.0.1)
pandoc-ruby (2.1.4)
parallel (1.19.2)
parser (2.7.1.4)
parser (2.7.2.0)
ast (~> 2.4.1)
postrank-uri (1.0.24)
addressable (>= 2.4.0)
nokogiri (>= 1.8.0)
public_suffix (>= 2.0.0, < 2.1)
premailer (1.13.1)
premailer (1.14.2)
addressable
css_parser (>= 1.6.0)
htmlentities (>= 4.0.0)
prettier (0.13.0)
promise.rb (0.7.4)
public_suffix (2.0.5)
pwqgen.rb (0.1.0)
docopt (~> 0.5)
sysrandom
qonfig (0.24.1)
qonfig (0.25.0)
rack (2.2.3)
rack-accept (0.4.5)
rack (>= 0.4)
Expand Down Expand Up @@ -449,11 +449,11 @@ GEM
rdf-turtle (3.1.2)
ebnf (~> 2.0)
rdf (~> 3.1, >= 3.1.2)
rdf-vocab (3.1.7)
rdf-vocab (3.1.8)
rdf (~> 3.1, >= 3.1.2)
rdf-xsd (3.1.0)
rdf (~> 3.1)
regexp_parser (1.7.1)
regexp_parser (1.8.1)
request_store (1.5.0)
rack (>= 1.4)
rest-client (2.0.2)
Expand All @@ -468,7 +468,7 @@ GEM
benchmark-perf (~> 0.4.0)
benchmark-trend (~> 0.2.0)
rspec (>= 3.0.0, < 4.0.0)
rspec-core (3.9.2)
rspec-core (3.9.3)
rspec-support (~> 3.9.3)
rspec-expectations (3.9.2)
diff-lcs (>= 1.2.0, < 2.0)
Expand Down Expand Up @@ -581,7 +581,7 @@ GEM
uuid (2.3.9)
macaddr (~> 1.0)
vcr (5.1.0)
webmock (3.8.3)
webmock (3.9.1)
addressable (>= 2.3.6)
crack (>= 0.3.2)
hashdiff (>= 0.4.0, < 2.0.0)
Expand Down Expand Up @@ -662,6 +662,7 @@ DEPENDENCIES
oj (>= 2.8.3)
oj_mimic_json (~> 1.0, >= 1.0.1)
premailer (~> 1.11, >= 1.11.1)
prettier (~> 0.13.0)
pwqgen.rb (~> 0.1.0)
rack-cors (~> 1.0)
rack-utf8_sanitizer (~> 1.6)
Expand Down

0 comments on commit 2ec9074

Please sign in to comment.