From 07b14e102369d3ca6cfa24ab9e001f43d91bb939 Mon Sep 17 00:00:00 2001 From: Christos Papageorgiou Date: Mon, 14 Mar 2022 16:33:49 +0200 Subject: [PATCH] rubocop: Naming/PredicateName: Add is_to_s to AllowedMethods --- .idea/.gitignore | 8 ++++++++ .idea/misc.xml | 4 ++++ .idea/modules.xml | 8 ++++++++ .idea/vcs.xml | 6 ++++++ .idea/voxpupuli-test.iml | 17 +++++++++++++++++ rubocop.yml | 1 + 6 files changed, 44 insertions(+) create mode 100644 .idea/.gitignore create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/vcs.xml create mode 100644 .idea/voxpupuli-test.iml diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..13566b8 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..07e6cb7 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..d8cdffa --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/voxpupuli-test.iml b/.idea/voxpupuli-test.iml new file mode 100644 index 0000000..e43b3ef --- /dev/null +++ b/.idea/voxpupuli-test.iml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/rubocop.yml b/rubocop.yml index 3e81b09..3c34711 100644 --- a/rubocop.yml +++ b/rubocop.yml @@ -439,6 +439,7 @@ Style/PerlBackrefs: Naming/PredicateName: Enabled: True + AllowedMethods: ['is_a', 'is_to_s'] Style/RedundantException: Enabled: True