Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '.eslintrc')
-rw-r--r--.eslintrc8
1 files changed, 6 insertions, 2 deletions
diff --git a/.eslintrc b/.eslintrc
index b0ae2a31919..aba8112c5a9 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -13,9 +13,12 @@
},
"plugins": [
"filenames",
- "import"
+ "import",
+ "html",
+ "promise"
],
"settings": {
+ "html/html-extensions": [".html", ".html.raw", ".vue"],
"import/resolver": {
"webpack": {
"config": "./config/webpack.config.js"
@@ -24,6 +27,7 @@
},
"rules": {
"filenames/match-regex": [2, "^[a-z0-9_]+$"],
- "no-multiple-empty-lines": ["error", { "max": 1 }]
+ "no-multiple-empty-lines": ["error", { "max": 1 }],
+ "promise/catch-or-return": "error"
}
}