Comments (4)
With blocks as well:
Rails.logger.debug { <<~LOG }
a
b
LOG
from rubocop.
Also reproduces on prism 0.29.0.
from rubocop.
Appears to be solved in Prism v0.30.0
from rubocop.
Another variant:
foo(<<~RUBY, "y")
a
b
RUBY
from rubocop.
Related Issues (20)
- Inconsistent `Style/ArgumentsForwarding` `...` forwarding behavior
- Enhancement: detect safe navigation in `Style/ReturnNilInPredicateMethodDefinition`
- "Style/MapIntoArray" false positive with push(*ary) HOT 2
- RuboCop spaces -> tab indentation generates overly indented output. HOT 6
- Cop idea: detect redundant setting to empty string inside string interpolation
- Sponsorship logo missing from README HOT 1
- Cops restricted by `Include` are not run when linting a single file HOT 1
- Style/Alias generates invalid code
- issue occur again and again HOT 1
- [Documentation] FAQ, in particular a "usage FAQ" and rubocop-quickref HOT 1
- Style/SymbolProc auto fix brakes logic HOT 3
- Style/RedundantCondition breaks code HOT 1
- Cop idea: lint for inconsistent safe navigation
- Style/CombinableLoops triggered incorrectly
- Style/RedundantLineContinuation: false positive HOT 2
- Ability to ignore branches repeated only by `else` in `Lint/DuplicateBranch` HOT 3
- Layout/FirstHashElementIndentation in `if`
- Crash in a custom ruby extractor brings whole of RuboCop down
- Naming/AccessorMethodName could be more tunable HOT 3
- CodeLength undefined method `to_sym' for false HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rubocop.