mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-24 00:52:52 +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> |
||
|---|---|---|
| .. | ||
| embedding_defs_enumerator.rb | ||
| embedding_defs_validator.rb | ||
| embeddings_module_validator.rb | ||
| feature.rb | ||
| llm_dependency_validator.rb | ||
| llm_enumerator.rb | ||
| llm_validator.rb | ||
| llm_vision_enumerator.rb | ||
| module.rb | ||
| persona_enumerator.rb | ||
| simple_llm_validator.rb | ||
| spam_detection_validator.rb | ||