Sha256: 07962559c667858ec3f7bd73425f955379519fa1e1ee627d56d88c53742d7957
Contents?: true
Size: 1.25 KB
Versions: 2
Compression:
Stored size: 1.25 KB
Contents
# Disabling all Layout/* rules, as they're unnecessary when the user is using # prettier to handle all of the formatting. Layout: Enabled: false # Re-enable Layout/LineLength because certain cops that most projects use # (e.g. Style/IfUnlessModifier) require Layout/LineLength to be enabled. # By leaving it disabled, those rules will mis-fire. # # Users can always override these defaults in their own rubocop.yml files. # https://github.com/prettier/plugin-ruby/issues/825 Layout/LineLength: Enabled: true Style/MultilineIfModifier: Enabled: false # When method chains with multiple blocks are chained together, rubocop will let # them pass if they're using braces but not if they're using do and end # keywords. Because we will break individual blocks down to using keywords if # they are multiline, this conflicts with rubocop. Style/MultilineBlockChain: Enabled: false Style/SymbolArray: Enabled: false Style/WordArray: Enabled: false Style/TrailingCommaInArguments: Enabled: false Style/TrailingCommaInArrayLiteral: Enabled: false Style/TrailingCommaInHashLiteral: Enabled: false # lambdas that are constructed with the lambda method call cannot be safely # turned into lambda literals without removing a method call. Style/Lambda: Enabled: false
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
prettier-3.1.0 | rubocop.yml |
prettier-3.0.0 | rubocop.yml |