summaryrefslogtreecommitdiff
path: root/.rubocop.yml
Commit message (Collapse)AuthorAgeFilesLines
* Complete Style/ExpandPathArguments todoDouglas Eichelberger2022-09-111-6/+0
|
* Complete Style/SymbolArray todoDouglas Eichelberger2022-09-111-4/+0
|
* Prevents Ruby 3.1 incompatibility error. You can enable this cop when Ruby ↵André Luis Leal Cardoso Junior2021-12-271-0/+5
| | | | 2.4 support is dropped.
* rubocop: enable the Style/FrozenStringLiteralComment copKyrylo Silin2019-05-081-0/+6
| | | | This will greatly ease Pry support on Ruby 3.0 (when it's out).
* helpers/command_helpers: add tests, refactor variable namesKyrylo Silin2019-03-301-0/+3
| | | | | | | | | | | | | | | | | First of all, we move the spec file from `spec` to `spec/helpers`. This is where it is supposed to be. Next, we add tests for all the methods that the module defines. During this process I had to change `module_function` to `extend self`. Rubocop doesn't like it for some unknown to me reason, so I had to disable the rule. There's no harm in doing so. Finally, I refactored some methods (low-hanging fruits only) and discovered that the `command_error` method is not necessary at all. All in all, this module is a lot better now but I feel like it shouldn't exist at all, since almost all methods are very specific to certain Pry commands. It's hardly a general purpose module for Pry plugins.
* rubocop: ignore Gemspec/RequiredRubyVersionKyrylo Silin2019-03-241-0/+3
|
* rubocop: configure the Style/CommentedKeyword copKyrylo Silin2019-03-241-0/+4
|
* rubocop: disable the Style/Documentation copKyrylo Silin2019-03-241-0/+3
| | | | | On a normal day I would keep it enabled but I don't really fancy documenting 138 classes...
* rubocop: disable Style/DoubleNegationKyrylo Silin2019-03-231-0/+3
| | | | | | This cop makes sense to me, however a lot of our code has offences that are not fixable on the same level. To avoid them we'd need to redesign API of some classes, which isn't worth it.
* Gemfile: remove groupsKyrylo Silin2019-03-081-0/+3
| | | | | | | | We plan to use SimpleCov and Bundler.require gets in the way. Without it Gemfile groups are useless, so I am removing them. I am also removing the silly `Bundler/OrderedGems` cop, one of the most useless cops you can add.
* rubocop: fix offences of the Metrics/LineLength copKyrylo Silin2019-03-031-0/+3
| | | | | | I realise that some code might be less readable now, but now that we set a good default limit, we protect the codebase from further mess. It's important to do this to prevent adding more mess to already messy code that we have. :doctor:
* rubocop: embrace the Style/SymbolArray copKyrylo Silin2019-03-021-0/+4
|
* rubocop: disable the Style/StringLiterals copKyrylo Silin2019-03-021-0/+3
|
* rubocop: fix offences of the Style/SingleLineMethods copKyrylo Silin2019-03-021-0/+9
|
* rubocop: fix offences of the Style/ExpandPathArguments copKyrylo Silin2019-03-021-0/+6
|
* rubocop: fix offences of the Style/ClassAndModuleChildren copKyrylo Silin2019-02-271-0/+4
|
* rubocop: fix offences of the Layout/DotPosition copKyrylo Silin2019-02-251-0/+3
|
* rubocop: don't check fixtures for Layout/CommentIndentationKyrylo Silin2019-02-251-0/+4
|
* Add API documentation for Pry::Config (#1892)r-obert2018-12-011-0/+4
|
* rubocop: temporarily ignore certain Naming/MethodName offencesKyrylo Silin2018-11-041-0/+7
| | | | The build is failing because of this.
* rubocop: disable Layout/IndentHeredocKyrylo Silin2018-11-041-0/+3
| | | | This cop suggests to install a library to format heredocs. LOL
* rubocop: disable the Style/NumericPredicate copKyrylo Silin2018-10-201-0/+3
| | | | This is very opinionated and not necessary to follow.
* rubocop: generate configKyrylo Silin2018-10-061-0/+1
The config ignores all violations for now. We will be fixing them at our own pace.