Commit 84762bb
committed
Specify the plugin class name explicitly
This allows rubocop to be run in bundler standalone mode. Without
specifying the plugin class name, rubocop errors out with:
> Error: Failed to load plugin `rubocop-performance` because the corresponding plugin class could not be determined for instantiation.
This is because it's trying to load the gem to find the name, but is
unable to.
Setting the class name doesn't affect running rubocop through bundler,
it will still work properly1 parent 55bf7a9 commit 84762bb
2 files changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
0 commit comments