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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
7558fe98
Commit
7558fe98
authored
Feb 02, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More rubocop rules enable
parent
368e9a08
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
.rubocop.yml
.rubocop.yml
+5
-4
lib/email_validator.rb
lib/email_validator.rb
+1
-1
No files found.
.rubocop.yml
View file @
7558fe98
...
...
@@ -60,7 +60,7 @@ Style/Attr:
Style/BeginBlock
:
Description
:
'
Avoid
the
use
of
BEGIN
blocks.'
StyleGuide
:
'
https://github.com/bbatsov/ruby-style-guide#no-BEGIN-blocks'
Enabled
:
fals
e
Enabled
:
tru
e
Style/BarePercentLiterals
:
Description
:
'
Checks
if
usage
of
%()
or
%Q()
matches
configuration.'
...
...
@@ -101,12 +101,12 @@ Style/CaseIndentation:
Style/CharacterLiteral
:
Description
:
'
Checks
for
uses
of
character
literals.'
StyleGuide
:
'
https://github.com/bbatsov/ruby-style-guide#no-character-literals'
Enabled
:
fals
e
Enabled
:
tru
e
Style/ClassAndModuleCamelCase
:
Description
:
'
Use
CamelCase
for
classes
and
modules.'
StyleGuide
:
'
https://github.com/bbatsov/ruby-style-guide#camelcase-classes'
Enabled
:
fals
e
Enabled
:
tru
e
Style/ClassAndModuleChildren
:
Description
:
'
Checks
style
of
children
classes
and
modules.'
...
...
@@ -124,7 +124,7 @@ Style/ClassMethods:
Style/ClassVars
:
Description
:
'
Avoid
the
use
of
class
variables.'
StyleGuide
:
'
https://github.com/bbatsov/ruby-style-guide#no-class-vars'
Enabled
:
fals
e
Enabled
:
tru
e
Style/ColonMethodCall
:
Description
:
'
Do
not
use
::
for
method
call.'
...
...
@@ -1000,3 +1000,4 @@ AllCops:
-
'
bin/**/*'
-
'
lib/backup/**/*'
-
'
lib/tasks/**/*'
-
'
lib/email_validator.rb'
lib/email_validator.rb
View file @
7558fe98
# Based on https://github.com/balexand/email_validator
#
#
# Extended to use only strict mode with following allowed characters:
# ' - apostrophe
#
...
...
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