Skip to content

Commit

Permalink
Fix a typo
Browse files Browse the repository at this point in the history
```console
% misspell -i enviromnent .
lib/rubocop/options.rb:445:74: "explictly" is a misspelling of "explicitly"
spec/rubocop/options_spec.rb:54:79: "explictly" is a misspelling of "explicitly"
```
  • Loading branch information
koic committed Sep 28, 2021
1 parent de4f7cd commit 85d67c9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions lib/rubocop/options.rb
Expand Up @@ -441,8 +441,9 @@ module OptionsHelp
disable_uncorrectable: ['Used with --auto-correct to annotate any',
'offenses that do not support autocorrect',
'with `rubocop:todo` comments.'],
force_exclusion: ['Any files excluded by `Exclude` in configuration files',
'will be excluded, even if given explictly as arguments.'],
force_exclusion: ['Any files excluded by `Exclude` in configuration',
'files will be excluded, even if given explicitly',
'as arguments.'],
only_recognized_file_types: ['Inspect files given on the command line only if',
'they are listed in `AllCops/Include` parameters',
'of user configuration or default configuration.'],
Expand Down
5 changes: 3 additions & 2 deletions spec/rubocop/options_spec.rb
Expand Up @@ -50,8 +50,9 @@ def abs(path)
--enable-pending-cops Run with pending cops.
--ignore-disable-comments Run cops even when they are disabled locally
by a `rubocop:disable` directive.
--force-exclusion Any files excluded by `Exclude` in configuration files
will be excluded, even if given explictly as arguments.
--force-exclusion Any files excluded by `Exclude` in configuration
files will be excluded, even if given explicitly
as arguments.
--only-recognized-file-types Inspect files given on the command line only if
they are listed in `AllCops/Include` parameters
of user configuration or default configuration.
Expand Down

0 comments on commit 85d67c9

Please sign in to comment.