Skip to content

Commit

Permalink
Disable the single- vs double-quotes rules in rubocop.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
boris-petrov committed May 26, 2022
1 parent cbdc608 commit 73b4f0e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,16 @@ Style/Lambda:
Style/MultilineBlockChain:
Enabled: false

# Syntax Tree by default uses double quotes, so changing the configuration here
# to match that.
# Disable the single- vs double-quotes rules as these depend on whether the user
# has added or not `plugin/single_quotes` for `syntax_tree`
Style/StringLiterals:
EnforcedStyle: double_quotes
Enabled: false

Style/StringLiteralsInInterpolation:
EnforcedStyle: double_quotes
Enabled: false

Style/QuotedSymbols:
EnforcedStyle: double_quotes
Enabled: false

# We let users have a little more freedom with symbol and words arrays. If the
# user only has an individual item like ["value"] then we don't bother
Expand All @@ -52,8 +52,8 @@ Style/SymbolArray:
Style/WordArray:
Enabled: false

# We don't support trailing commas in Syntax Tree by default, so just turning
# these off for now.
# Disable the trailing-comma rules as these depend on whether the user has added
# or not `plugin/trailing_comma` for `syntax_tree`
Style/TrailingCommaInArguments:
Enabled: false

Expand Down

0 comments on commit 73b4f0e

Please sign in to comment.