BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
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
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
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