From 6b04185d8ec6626311b704584451819284eb4634 Mon Sep 17 00:00:00 2001 From: ConnorSheremeta Date: Wed, 21 Aug 2024 09:39:25 -0600 Subject: [PATCH] bring in and enforce inclusive language cops --- .rubocop.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.rubocop.yml b/.rubocop.yml index a597931..55bd0eb 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -7,6 +7,15 @@ require: - rubocop-performance - rubocop-rails +# TODO: update reference once merged. +inherit_from: + - https://raw.githubusercontent.com/ualbertalib/library_applications_development_inclusive_language/cds/initial-commit/inclusive_language_rubocop.yml + +# Exclude checking for the term 'dummy' here as it is included in the Rails generator. +Naming/InclusiveLanguage: + Exclude: + - 'test/dummy/**/*' + AllCops: DisplayCopNames: true DisplayStyleGuide: true