Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
d1f1c5c6
Commit
d1f1c5c6
authored
Dec 14, 2015
by
Gabriel Mazetto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated .rubocop.yml to match 0.35.x changes
parent
0b2c5003
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
6 deletions
+30
-6
.rubocop.yml
.rubocop.yml
+30
-6
No files found.
.rubocop.yml
View file @
d1f1c5c6
...
@@ -76,7 +76,7 @@ Style/BlockEndNewline:
...
@@ -76,7 +76,7 @@ Style/BlockEndNewline:
Description
:
'
Put
end
statement
of
multiline
block
on
its
own
line.'
Description
:
'
Put
end
statement
of
multiline
block
on
its
own
line.'
Enabled
:
true
Enabled
:
true
Style/Blocks
:
Style/Block
Delimiter
s
:
Description
:
>-
Description
:
>-
Avoid using {...} for multi-line blocks (multiline chaining is
Avoid using {...} for multi-line blocks (multiline chaining is
always ugly).
always ugly).
...
@@ -232,6 +232,10 @@ Style/EvenOdd:
...
@@ -232,6 +232,10 @@ Style/EvenOdd:
StyleGuide
:
'
https://github.com/bbatsov/ruby-style-guide#predicate-methods'
StyleGuide
:
'
https://github.com/bbatsov/ruby-style-guide#predicate-methods'
Enabled
:
false
Enabled
:
false
Style/ExtraSpacing
:
Description
:
'
Do
not
use
unnecessary
spacing.'
Enabled
:
false
Style/FileName
:
Style/FileName
:
Description
:
'
Use
snake_case
for
source
file
names.'
Description
:
'
Use
snake_case
for
source
file
names.'
StyleGuide
:
'
https://github.com/bbatsov/ruby-style-guide#snake-case-files'
StyleGuide
:
'
https://github.com/bbatsov/ruby-style-guide#snake-case-files'
...
@@ -431,6 +435,14 @@ Style/OpMethod:
...
@@ -431,6 +435,14 @@ Style/OpMethod:
StyleGuide
:
'
https://github.com/bbatsov/ruby-style-guide#other-arg'
StyleGuide
:
'
https://github.com/bbatsov/ruby-style-guide#other-arg'
Enabled
:
false
Enabled
:
false
Style/ParallelAssignment
:
Description
:
>-
Check for simple usages of parallel assignment.
It will only warn when the number of variables
matches on both sides of the assignment.
StyleGuide
:
'
https://github.com/bbatsov/ruby-style-guide#parallel-assignment'
Enabled
:
false
Style/ParenthesesAroundCondition
:
Style/ParenthesesAroundCondition
:
Description
:
>-
Description
:
>-
Don't use parentheses around the condition of an
Don't use parentheses around the condition of an
...
@@ -669,6 +681,13 @@ Style/TrailingWhitespace:
...
@@ -669,6 +681,13 @@ Style/TrailingWhitespace:
StyleGuide
:
'
https://github.com/bbatsov/ruby-style-guide#no-trailing-whitespace'
StyleGuide
:
'
https://github.com/bbatsov/ruby-style-guide#no-trailing-whitespace'
Enabled
:
false
Enabled
:
false
Style/TrailingUnderscoreVariable
:
Description
:
>-
Checks for the usage of unneeded trailing underscores at the
end of parallel variable assignment.
AllowNamedUnderscoreVariables
:
true
Enabled
:
false
Style/TrivialAccessors
:
Style/TrivialAccessors
:
Description
:
'
Prefer
attr_*
methods
to
trivial
readers/writers.'
Description
:
'
Prefer
attr_*
methods
to
trivial
readers/writers.'
StyleGuide
:
'
https://github.com/bbatsov/ruby-style-guide#attr_family'
StyleGuide
:
'
https://github.com/bbatsov/ruby-style-guide#attr_family'
...
@@ -690,11 +709,6 @@ Style/UnneededPercentQ:
...
@@ -690,11 +709,6 @@ Style/UnneededPercentQ:
StyleGuide
:
'
https://github.com/bbatsov/ruby-style-guide#percent-q'
StyleGuide
:
'
https://github.com/bbatsov/ruby-style-guide#percent-q'
Enabled
:
false
Enabled
:
false
Style/UnneededPercentX
:
Description
:
'
Checks
for
%x
when
``
would
do.'
StyleGuide
:
'
https://github.com/bbatsov/ruby-style-guide#percent-x'
Enabled
:
false
Style/VariableInterpolation
:
Style/VariableInterpolation
:
Description
:
>-
Description
:
>-
Don't interpolate global, instance and class variables
Don't interpolate global, instance and class variables
...
@@ -778,6 +792,10 @@ Metrics/MethodLength:
...
@@ -778,6 +792,10 @@ Metrics/MethodLength:
StyleGuide
:
'
https://github.com/bbatsov/ruby-style-guide#short-methods'
StyleGuide
:
'
https://github.com/bbatsov/ruby-style-guide#short-methods'
Enabled
:
false
Enabled
:
false
Metrics/ModuleLength
:
Description
:
'
Avoid
modules
longer
than
100
lines
of
code.'
Enabled
:
false
#################### Lint ################################
#################### Lint ################################
### Warnings
### Warnings
...
@@ -987,6 +1005,12 @@ Rails/ScopeArgs:
...
@@ -987,6 +1005,12 @@ Rails/ScopeArgs:
Description
:
'
Checks
the
arguments
of
ActiveRecord
scopes.'
Description
:
'
Checks
the
arguments
of
ActiveRecord
scopes.'
Enabled
:
false
Enabled
:
false
Rails/TimeZone
:
Description
:
'
Checks
the
correct
usage
of
time
zone
aware
methods.'
StyleGuide
:
'
https://github.com/bbatsov/rails-style-guide#time'
Reference
:
'
http://danilenko.org/2012/7/6/rails_timezones'
Enabled
:
false
Rails/Validation
:
Rails/Validation
:
Description
:
'
Use
validates
:attribute,
hash
of
validations.'
Description
:
'
Use
validates
:attribute,
hash
of
validations.'
Enabled
:
false
Enabled
:
false
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment