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
Boxiang Sun
gitlab-ce
Commits
ef849c6c
Commit
ef849c6c
authored
May 28, 2018
by
Lukas Eipert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use the old indent-rule for now
parent
0692be4c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
.eslintrc.yml
.eslintrc.yml
+14
-0
No files found.
.eslintrc.yml
View file @
ef849c6c
...
...
@@ -55,6 +55,20 @@ rules:
object-curly-newline
:
off
padded-blocks
:
off
# Disabled for now, to make the eslint 3 -> eslint 4 update smoother
## Indent rule. We are using the old for now: https://eslint.org/docs/user-guide/migrating-to-4.0.0#indent-rewrite
indent
:
off
indent-legacy
:
-
error
-
2
-
SwitchCase
:
1
VariableDeclarator
:
1
outerIIFEBody
:
1
FunctionDeclaration
:
parameters
:
1
body
:
1
FunctionExpression
:
parameters
:
1
body
:
1
## Destructuring: https://eslint.org/docs/rules/prefer-destructuring
prefer-destructuring
:
off
## no-restricted-globals: https://eslint.org/docs/3.0.0/rules/no-restricted-globals
...
...
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