summaryrefslogtreecommitdiff
path: root/.rubocop.yml
Commit message (Collapse)AuthorAgeFilesLines
* Require space around operatorsGabriel Mazetto2016-05-131-2/+2
|
* Merge branch 'deprecated-class-methods-cop' into 'master' Robert Speicher2016-05-121-1/+1
|\ | | | | | | | | | | | | | | | | Enable the Rubocop DeprecatedClassMethods cop This reports uses of `File.exists?` and `Dir.exists?`, which were both deprecated in Ruby and will eventually be removed in favor of `.exist?`. Also fixes all existing uses of the deprecated methods. See merge request !4087
| * Enable the Rubocop DeprecatedClassMethods copConnor Shea2016-05-081-1/+1
| | | | | | | | | | | | This reports uses of `File.exists?` and `Dir.exists?`, which were both deprecated in Ruby and will eventually be removed in favor of `.exist?`. Also fixes all existing uses of the deprecated methods.
* | Merge branch 'casecmp-cop' into 'master' Rémy Coutable2016-05-111-2/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable Rubocop Casecmp Performance Cop. Also fixes the errors caused by enabling the cop. `casecmp` is more performant than `.downcase` and `==`. See also: https://github.com/bbatsov/rubocop/blob/master/lib/rubocop/cop/performance/casecmp.rb See merge request !3957
| * | Enable Rubocop Casecmp Performance Cop.Connor Shea2016-05-101-2/+1
| |/ | | | | | | Also fixes the errors caused by enabling the cop. casecmp is more performant than `.downcase` and `==`.
* | Enable the StringReplacement cop.Connor Shea2016-05-101-1/+2
|/ | | | | | | | Also fix one use of `gsub` that would be faster as `delete`. Use `tr` instead of `gsub` when you are replacing the same number of characters. Use `delete` instead of `gsub` when you are deleting characters.
* Enable LstripRstrip copConnor Shea2016-04-271-2/+1
| | | | | This requires no code changes since it doesn't actually change anything in the codebase, just preventative.
* Backport select_helper from EEbackport_changes_from_eeValery Sizov2016-04-201-1/+1
|
* Decrease threshold for ABC Size metric in Rubocopcomplexity/descrease-abc-size-thresholdGrzegorz Bizon2016-04-111-1/+1
| | | | To 60.
* Update Rubocop from 0.35.1 to 0.38.0.connorshea2016-03-201-469/+489
| | | | | | | | | | | | | | | | Discussed in #14233. See [their releases](https://github.com/bbatsov/rubocop/releases) for more info. Changes: - Enable DisplayCopNames for lint output. - Default behavior for `Alias` changed, set to enforce `prefer_alias_method`. - Enabling Rails cops changed to new syntax. - Remove StyleGuides and move Descriptions to comments. - Add missing cops. - Add TODOs for cops that should be enabled in the future. - Set TargetRubyVersion to 2.1.
* Disabled Rails/Date copGabriel Mazetto2015-12-151-0/+6
|
* Updated .rubocop.yml to match 0.35.x changesGabriel Mazetto2015-12-141-6/+30
|
* Bump cyclomatic and perceived complexity threshold by oneGrzegorz Bizon2015-12-081-2/+2
|
* Enable rubocop metricsGrzegorz Bizon2015-12-081-19/+24
| | | | | This enables rubocop metrics like CyclomaticComplexity and ABCSize. Initial threshold values are high, should be probably decreased.
* Enable the Lint/RescueException coprs-rescueexception-copRobert Speicher2015-11-241-1/+1
|
* Enable "UselessAssignment" rubocop lintGuilherme Garnier2015-10-031-1/+1
|
* fix rubocopValery Sizov2015-09-161-0/+1
|
* fix specs. Stage 5Valery Sizov2015-09-151-0/+1
|
* Enable rubocop for tests tooDmitriy Zaporozhets2015-06-221-2/+0
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Fixed the Rails/ActionFilter copJeroen van Baarsen2015-04-201-1/+1
| | | | Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
* No tabs in code!Dmitriy Zaporozhets2015-04-151-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Style/RedundantReturn enabledmore-rubocop-stylesDmitriy Zaporozhets2015-03-241-1/+1
|
* Enable more rubocop style checksDmitriy Zaporozhets2015-03-241-7/+7
|
* Enable ParenthesesAsGroupedExpression ruleDmitriy Zaporozhets2015-03-021-1/+1
|
* Rubocop: indentation fixes Yay!!!Dmitriy Zaporozhets2015-02-021-2/+2
|
* Rubocop: no trailing newlinesDmitriy Zaporozhets2015-02-021-3/+3
|
* Rubocop: Dont allow puts or print to stdoutDmitriy Zaporozhets2015-02-021-1/+4
|
* Rubocop: Style/ElseAlignment enabledDmitriy Zaporozhets2015-02-021-2/+2
|
* Rubocop: comment indentationDmitriy Zaporozhets2015-02-021-1/+1
|
* More rubocop rules enableDmitriy Zaporozhets2015-02-021-4/+5
|
* Rubocop: Style/CaseIndentation enabledDmitriy Zaporozhets2015-02-021-1/+1
|
* Avoid using {...} for multi-line blocksDmitriy Zaporozhets2015-02-021-2/+2
|
* Rubocop: Ascii restrictionsDmitriy Zaporozhets2015-02-021-2/+2
|
* Rubocop: Style/AlignHash enabledDmitriy Zaporozhets2015-02-021-1/+1
|
* Rubocop: Style/AlignArray enabledDmitriy Zaporozhets2015-02-021-1/+1
|
* Rubocop: Style/Alias enabledDmitriy Zaporozhets2015-02-021-1/+1
|
* Rubocop: Style/AccessorMethodName enabledDmitriy Zaporozhets2015-02-021-1/+1
|
* Rubocop enabled for: Use spaces inside hash literal bracesDmitriy Zaporozhets2015-02-021-1/+1
|
* Convert hashes to ruby 1.9 styleDmitriy Zaporozhets2015-02-021-5/+1
|
* At first disable all checks. We will enable it one by one laterDmitriy Zaporozhets2015-02-021-8/+988
|
* Add rubocop and remove rails_best_practices gemDmitriy Zaporozhets2015-02-021-0/+26