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
Léo-Paul Géneau
gitlab-ce
Commits
c0f3bd92
Commit
c0f3bd92
authored
May 28, 2018
by
Lukas Eipert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
convert eslintrc to yml
parent
a30e6b81
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
53 additions
and
56 deletions
+53
-56
.eslintrc
.eslintrc
+0
-56
.eslintrc.yml
.eslintrc.yml
+53
-0
No files found.
.eslintrc
deleted
100644 → 0
View file @
a30e6b81
{
"env": {
"browser": true,
"es6": true
},
"extends": [
"airbnb-base",
"plugin:vue/recommended"
],
"globals": {
"__webpack_public_path__": true,
"gl": false,
"gon": false,
"localStorage": false
},
"parserOptions": {
"parser": "babel-eslint"
},
"plugins": [
"filenames",
"import",
"html",
"promise"
],
"settings": {
"html/html-extensions": [".html", ".html.raw"],
"import/resolver": {
"webpack": {
"config": "./config/webpack.config.js"
}
}
},
"rules": {
"filenames/match-regex": [2, "^[a-z0-9_]+$"],
"import/no-commonjs": "error",
"no-multiple-empty-lines": ["error", { "max": 1 }],
"promise/catch-or-return": "error",
"no-underscore-dangle": ["error", { "allow": ["__", "_links"] }],
"no-mixed-operators": 0,
"space-before-function-paren": 0,
"curly": 0,
"arrow-parens": 0,
"vue/html-self-closing": [
"error",
{
"html": {
"void": "always",
"normal": "never",
"component": "always"
},
"svg": "always",
"math": "always"
}
]
}
}
.eslintrc.yml
0 → 100644
View file @
c0f3bd92
---
env
:
browser
:
true
es6
:
true
extends
:
-
airbnb-base
-
plugin:vue/recommended
globals
:
__webpack_public_path__
:
true
gl
:
false
gon
:
false
localStorage
:
false
parserOptions
:
parser
:
babel-eslint
plugins
:
-
filenames
-
import
-
html
-
promise
settings
:
html/html-extensions
:
-
"
.html"
-
"
.html.raw"
import/resolver
:
webpack
:
config
:
"
./config/webpack.config.js"
rules
:
filenames/match-regex
:
-
error
-
"
^[a-z0-9_]+$"
import/no-commonjs
:
error
no-multiple-empty-lines
:
-
error
-
max
:
1
promise/catch-or-return
:
error
no-underscore-dangle
:
-
error
-
allow
:
-
__
-
_links
no-mixed-operators
:
0
vue/html-self-closing
:
-
error
-
html
:
void
:
always
normal
:
never
component
:
always
svg
:
always
math
:
always
## Conflicting rules with prettier:
space-before-function-paren
:
0
curly
:
0
arrow-parens
:
0
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