Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
koic committed Jun 30, 2020
1 parent f22c2dd commit c6154c1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions config/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ Bundler/OrderedGems:
VersionChanged: '0.47'
TreatCommentsAsGroupSeparators: true
# By default, "-" and "_" are ignored for order purposes.
# This can be overriden by setting this parameter to true.
# This can be overridden by setting this parameter to true.
ConsiderPunctuation: false
Include:
- '**/*.gemfile'
Expand All @@ -204,7 +204,7 @@ Gemspec/OrderedDependencies:
VersionAdded: '0.51'
TreatCommentsAsGroupSeparators: true
# By default, "-" and "_" are ignored for order purposes.
# This can be overriden by setting this parameter to true.
# This can be overridden by setting this parameter to true.
ConsiderPunctuation: false
Include:
- '**/*.gemspec'
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/v1_upgrade_notes.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ This section lists all changes (big or small) to the API. It is meant for mainta

_Legacy_: Cops inherit from `Cop::Cop`.

_Current_: Cops inherit from `Cop::Base`. Having a different base class makes the implementation much cleaner and makes it easy to signal which API is being used. `Cop::Cop` inherits from `Cop::Base` and refines some methods for backward compatiblity.
_Current_: Cops inherit from `Cop::Base`. Having a different base class makes the implementation much cleaner and makes it easy to signal which API is being used. `Cop::Cop` inherits from `Cop::Base` and refines some methods for backward compatibility.

=== `add_offense` API

Expand Down
2 changes: 1 addition & 1 deletion lib/rubocop/cop/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def excluded_file?(file)

### Persistence

# Override if your cop should be called repeatedly for mutliple investigations
# Override if your cop should be called repeatedly for multiple investigations
# Between calls to `on_new_investigation` and `on_investigation_end`,
# the result of `processed_source` will remain constant.
# You should invalidate any caches that depend on the current `processed_source`
Expand Down

0 comments on commit c6154c1

Please sign in to comment.