Commit 2c47408
committed
help RuboCop pick the correct config
The problem is that RuboCop by default picked the inner most config
file. This means that if we want to use RuboCop for Pliny itself with a
.rubocop.yml config in the project root, we allways need to append `-c
.rubocop.yml`. If you don't do this you are greeted with a lot of
errors. Which is especially annoying if you have RuboCop integrated in
your editor. With this change it works out of the box. With a minimal
trade-off by renaming the template.1 parent e9696b1 commit 2c47408
4 files changed
Lines changed: 3 additions & 1 deletion
File tree
- .github/workflows
- lib
- pliny/commands
- template
- spec/commands
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
File renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
0 commit comments