From 708e46eb8f1f43df9ab8e1d83a144aab22af43da Mon Sep 17 00:00:00 2001 From: Koichi ITO Date: Tue, 1 Dec 2020 02:35:51 +0900 Subject: [PATCH] [Fix #9124] Update example for `rubocop -V` of issue template Fixes #9124. This PR updates example for `rubocop -V` of issue template. --- .github/ISSUE_TEMPLATE/bug_report.md | 6 +++++- CONTRIBUTING.md | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 85a9c7293b67..33cf2a34f067 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -32,9 +32,13 @@ a problem will expedite its solution. ## RuboCop version -Include the output of `rubocop -V` or `bundle exec rubocop -V` if using Bundler. Here's an example: +Include the output of `rubocop -V` or `bundle exec rubocop -V` if using Bundler. +If you see extension cop versions (e.g. `rubocop-performance`, `rubocop-rspec`, and others) +output by `rubocop -V`, include them as well. Here's an example: ``` $ [bundle exec] rubocop -V 1.4.2 (using Parser 2.7.2.0, rubocop-ast 1.1.1, running on ruby 2.7.2 x86_64-linux) + - rubocop-performance 1.9.1 + - rubocop-rspec 2.0.0 ``` diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 54f8418c5387..a5a2211011be 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -18,6 +18,8 @@ do so. ``` $ rubocop -V 1.4.2 (using Parser 2.7.2.0, rubocop-ast 1.1.1, running on ruby 2.7.2 x86_64-linux) + - rubocop-performance 1.9.1 + - rubocop-rspec 2.0.0 ``` * Include any relevant code to the issue summary.