mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-23 21:20:41 +08:00
We can't enable `Rails/WhereNot` lint/autofix, because it would break code that uses mini_sql instead of AR (which rubocop, and tbh also we, can't easily differentiate) Those are safe because they either: * are executed in AR model scope definitions * are clearly chained starting from a AR model * are less-clearly chained, but still can be traced to a AR model/scope --------- Co-authored-by: Loïc Guitaut <loic@discourse.org> |
||
|---|---|---|
| .. | ||
| base_candidates.rb | ||
| base_translator.rb | ||
| category_candidates.rb | ||
| category_locale_detector.rb | ||
| category_localizer.rb | ||
| content_splitter.rb | ||
| entry_point.rb | ||
| language_detector.rb | ||
| post_candidates.rb | ||
| post_detection_text.rb | ||
| post_locale_detector.rb | ||
| post_localizer.rb | ||
| post_raw_translator.rb | ||
| short_text_translator.rb | ||
| topic_candidates.rb | ||
| topic_locale_detector.rb | ||
| topic_localizer.rb | ||
| topic_title_translator.rb | ||
| verbose_logger.rb | ||