summaryrefslogtreecommitdiff
path: root/.eslintrc
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2018-01-03 23:14:55 +0000
committerFilipa Lacerda <filipa@gitlab.com>2018-01-03 23:14:55 +0000
commitb299198e1eb5e1f26d5267f4a64944e600086d6b (patch)
tree441412c739e7dace4c2ba34099d19677d52e0314 /.eslintrc
parentfb583c4b1839af16c50e27105a300695aa50bcad (diff)
downloadgitlab-ce-b299198e1eb5e1f26d5267f4a64944e600086d6b.tar.gz
Adds `eslint-plugin-vue`, fixes linter errors and adds docs
Diffstat (limited to '.eslintrc')
-rw-r--r--.eslintrc9
1 files changed, 7 insertions, 2 deletions
diff --git a/.eslintrc b/.eslintrc
index 44ad6a4896c..a419dc521e8 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -4,7 +4,10 @@
"browser": true,
"es6": true
},
- "extends": "airbnb-base",
+ "extends": [
+ "airbnb-base",
+ "plugin:vue/recommended"
+ ],
"globals": {
"__webpack_public_path__": true,
"_": false,
@@ -12,7 +15,9 @@
"gon": false,
"localStorage": false
},
- "parser": "babel-eslint",
+ "parserOptions": {
+ "parser": "babel-eslint"
+ },
"plugins": [
"filenames",
"import",