Skip to content

Commit f19d9a8

Browse files
DEV: Add disable_ternary plugin to syntax tree (#28)
1 parent 84c0995 commit f19d9a8

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

.streerc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
--print-width=100
2-
--plugins=plugin/trailing_comma
2+
--plugins=plugin/trailing_comma,disable_ternary

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ source "https://rubygems.org"
55
group :development do
66
gem "rubocop-discourse"
77
gem "syntax_tree"
8+
gem "syntax_tree-disable_ternary"
89
end

Gemfile.lock

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ GEM
3030
ruby-progressbar (1.11.0)
3131
syntax_tree (5.1.0)
3232
prettier_print (>= 1.2.0)
33+
syntax_tree-disable_ternary (1.0.0)
3334
unicode-display_width (2.3.0)
3435

3536
PLATFORMS
@@ -43,6 +44,7 @@ PLATFORMS
4344
DEPENDENCIES
4445
rubocop-discourse
4546
syntax_tree
47+
syntax_tree-disable_ternary
4648

4749
BUNDLED WITH
4850
2.3.10

0 commit comments

Comments
 (0)