Skip to content

Commit

Permalink
[Fix rubocop#893] Add local to Rails/UnknownEnv
Browse files Browse the repository at this point in the history
  • Loading branch information
sambostock committed Jan 6, 2023
1 parent c9445dd commit 936845d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog/change_add_local_to_railsunknownenv.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* [#906](https://github.com/rubocop/rubocop-rails/pull/906): [Fix #893] Add local to Rails/UnknownEnv. ([@sambostock][])
2 changes: 2 additions & 0 deletions config/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1078,9 +1078,11 @@ Rails/UnknownEnv:
Description: 'Use correct environment name.'
Enabled: true
VersionAdded: '0.51'
VersionChanged: '<<next>>'
Environments:
- development
- test
- local # Rails 7.1 alias for development or test
- production

Rails/UnusedIgnoredColumns:
Expand Down

0 comments on commit 936845d

Please sign in to comment.