Skip to content

Commit 1fafb9c

Browse files
Remove invalid EnableNewCops config key from Pro RuboCop config
The correct RuboCop syntax is 'NewCops: enable' under AllCops, which is already defined in the root .rubocop.yml that this config inherits from. 'EnableNewCops: true' is not a valid RuboCop configuration key and will be silently ignored. Co-authored-by: Ihab Adham <ihabadham@users.noreply.github.com>
1 parent 5ff29fb commit 1fafb9c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

react_on_rails_pro/.rubocop.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
inherit_from: ../.rubocop.yml
33

44
AllCops:
5-
EnableNewCops: true
65
Exclude:
76
<% `git status --ignored --porcelain`.lines.grep(/^!! /).each do |path| %>
87
- <%= path.sub(/^!! /, '') %>

0 commit comments

Comments
 (0)