You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17Lines changed: 17 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -170,6 +170,23 @@ packs/
170
170
my_private_namespaced_model_factory.rb
171
171
```
172
172
173
+
#### rubocop-rails
174
+
[rubocop-rails](https://github.com/rubocop/rubocop-rails) [targets paths](https://github.com/rubocop/rubocop-rails/blob/master/config/default.yml) starting with `app/`. You might need to override the `Include` globs to include your packs code.
175
+
176
+
Examples:
177
+
```yml
178
+
Rails/EnumHash:
179
+
Include:
180
+
- '**/app/models/**/*.rb'
181
+
Rails/InverseOf:
182
+
Include:
183
+
- '**/app/models/**/*.rb'
184
+
Rails/LexicallyScopedActionFilter:
185
+
Include:
186
+
- '**/app/controllers/**/*.rb'
187
+
- '**/app/mailers/**/*.rb'
188
+
```
189
+
173
190
#### parallel_tests
174
191
175
192
`parallel_tests`has it its own spec discovery mechanism, so packs-rails's RSpec integration doesn't do anything when you use them together.
0 commit comments