Comments (2)
With blocks as well:
Rails.logger.debug { <<~LOG }
a
b
LOG
from rubocop.
Another variant:
foo(<<~RUBY, "y")
a
b
RUBY
from rubocop.
Related Issues (20)
- `Lint/ShadowingOuterLocalVariable` does not take into account `if`/`else` branches HOT 1
- `class Foo; bar do` will crash Metrics/BlockLength HOT 2
- `Style/ArgumentsForwarding` enforce anonymous bad autocorrect
- regression in 1.63.4 -- "Could not locate Gemfile" HOT 2
- False Positive for `Lint/ImplicitStringConcatenation` with prism HOT 1
- `Style/HashEachMethods` mistakenly reported for zipped arrays HOT 2
- New cops warning still show up even after they have been configured HOT 1
- `cop.documentation_url` is nil for extension cops
- Question about Lint/ToEnumArguments HOT 1
- Metrics/AbcSize with `auto-gen-only-exclude` option
- Unexpected change to Style/Copyright from #12804 HOT 4
- uninitialized constant Bundler::SharedHelpers (NameError) HOT 16
- `Style/MapIntoArray` misinterprets my class design HOT 3
- Rubocop::Config#gem_version_to_major_minor_float doesn't work for Rails 8.0
- Cop idea: Detect `map` where result is discarded HOT 2
- "too many arguments for format string" warning HOT 4
- False negative for `Style/ArgumentsForwarding` and super
- Ruby 3.4.0preview1 - False positive for Style/FrozenStringLiteralComment cop HOT 4
- Style/SendWithLiteralMethodName should check method name characters HOT 1
- Style/SuperArguments is probably not safe to autocorrect 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.