1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/railties/lib/rails
Ryuta Kamizono c81af6ae72 Enable Layout/EmptyLinesAroundAccessModifier cop
We sometimes say "✂️ newline after `private`" in a code review (e.g.
https://github.com/rails/rails/pull/18546#discussion_r23188776,
https://github.com/rails/rails/pull/34832#discussion_r244847195).

Now `Layout/EmptyLinesAroundAccessModifier` cop have new enforced style
`EnforcedStyle: only_before` (https://github.com/rubocop-hq/rubocop/pull/7059).

That cop and enforced style will reduce the our code review cost.
2019-06-13 12:00:45 +09:00
..
api Generate Action Text's API docs 2019-01-04 23:56:22 -05:00
application Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
command Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
commands Help command for visible commands should be hidden 2019-04-19 00:33:12 -07:00
console
engine Remove asset paths from eager_load_paths and autoload_paths 2018-11-09 14:48:15 -05:00
generators Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
plugin
rack Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
railtie Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
tasks adds a blank line [ci skip] 2019-05-13 06:00:28 +02:00
templates Ruby can show a little bit more detailed info in shorter code 2018-12-15 13:21:58 +09:00
test_unit Add ActionDispatch::SystemTestCase#fill_in_rich_text_area 2019-05-13 12:44:06 -04:00
all.rb Import Action Text 2019-01-04 22:22:49 -05:00
app_loader.rb Railities typo fixes. 2019-02-01 16:42:40 +05:30
app_updater.rb Remove --skip-yarn in favor of --skip-javascript 2018-10-22 16:54:10 +03:00
application.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
application_controller.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
autoloaders.rb moves a require to the file that needs it 2019-03-08 09:04:12 -08:00
backtrace_cleaner.rb Add Style/RedundantFreeze to remove redudant .freeze 2018-09-29 07:18:44 +00:00
cli.rb
code_statistics.rb Enable Lint/UselessAssignment cop to avoid unused variable warnings (#34904) 2019-01-09 18:09:01 +09:00
code_statistics_calculator.rb
command.rb Homogenize rails help output 2018-11-19 22:48:51 +01:00
commands.rb
configuration.rb Turn on performance based cops 2018-07-23 15:37:06 -07:00
dev_caching.rb
engine.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
gem_version.rb Start Rails 6.1 development 2019-04-24 15:57:14 -04:00
generators.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
info.rb Revert "Merge pull request #34387 from yhirano55/rails_info_properties_json" 2019-01-08 22:21:20 +01:00
info_controller.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
initializable.rb
mailers_controller.rb [Rails::MailersController] Do not leak I18n global setting changes 2019-04-16 18:54:51 +00:00
paths.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
rack.rb
railtie.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
ruby_version_check.rb Require Ruby 2.5 for Rails 6. 2018-12-19 21:47:50 +01:00
secrets.rb Remove usage of strip_heredoc in the framework in favor of <<~ 2018-02-16 19:28:30 -05:00
source_annotation_extractor.rb Adds register_tags 2019-04-12 08:55:42 +02:00
tasks.rb Implements the task zeitwerk:check 2019-04-23 03:17:34 +02:00
test_help.rb Use testing lazy-load hooks: 2018-07-04 16:34:59 -04:00
version.rb
welcome_controller.rb